Spritetm / libesphttpd

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

fixes to espconn handling #7

Closed jkent closed 8 years ago

jkent commented 8 years ago

Patch description:

  1. Handling of espconn disconnect changed so it is handled the way Espressif advised me on a different project.
  2. Some cleanup that should not change behavior.
  3. Pointers to espconn structures are irrelevant with Espressif's implementation. Only remote IP/port positively identifies a socket connection. The debugging information should reflect that. Added slot information so the IP/port does not need to be repeated.

Please let me know what you think. I've tested these changes in my environment and they work fine.

Spritetm commented 8 years ago

Merged. Thanks for sending in this patch!