Spritetm / libesphttpd

NOTE: THIS CODE IS UNMAINTAINED. Please take a look at https://github.com/chmorgan/libesphttpd instead.
125 stars 109 forks source link

Add option to not automatically send "Connection: close" header. #11

Closed frolswe closed 8 years ago

frolswe commented 8 years ago

Previously, when adding the "Connection: upgrade" header in the websockets example, duplicate Connection headers were sent.

Spritetm commented 8 years ago

Sorry it's taking me a while to merge this, but I'm not a fan of the architecture of using a separate function to set all the flags... (and yes, I'm aware I started it myself.) I may go with a esphttpdConnectionSetFlag() or something instead.

Spritetm commented 8 years ago

Fixed in ced4221, in a slightly different way.