TCP: fixes backlog limit handling, and allows ephemeral TCP connections#7096
TCP: fixes backlog limit handling, and allows ephemeral TCP connections#7096d-a-v merged 4 commits intoesp8266:masterfrom
Conversation
|
Hi @d-a-v ! Currently trying to check your changes out, but I'm not too certain about my actions. Is that all I need to do before I compile my code to test out on my ESPs? |
|
UPDATE: |
|
Fix #7103 |
When a sketch does not check
server::available()often enough, short connections are now received and stored in background (backlog limit number of connections at most) and can be retrieved and used by subsequentclient = server::available(). Those clients will bestatus() == CLOSED,connected() == falsebutavailable() > 0.@kirillandy Could you check this ? I get what's expected by #2569 with these changes.
@JAndrassy This is still not what you are waiting for but it would be nice if you checked nothing has changed on the arduino side (
WiFiClient::operator bool()has changed).fixes #2569
edit:
fixes #7103