Issue with Espruino w/WizNET adapter not answering multiple requests #6126
Replies: 1 comment
-
Posted at 2019-01-10 by @gfwilliams Ahh - yes, that sounds about right. Do you have a link to the code you're using? It's just a standard HTTP server like http://www.espruino.com/Internet#server? I think what's happened is that Espruino's HTTP stuff now reports back @MaBecker mentioned something similar here for ESP8266 so I don't think it's WIZnet related: http://forum.espruino.com/conversations/329000/#14551636 We should maybe update the examples - however, @MaBecker is it worth making Espruino automatically insert a Posted at 2019-01-10 by @MaBecker
Yes please, because this is definitely not only ESP8266 specific. Posted at 2019-01-21 by @gfwilliams fixed, it'll be in 2v02 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2019-01-10 by DrAzzy
While working with the Wiznet adapter on an Espruino Original Board (well, my clone of it), I noticed that there seemed to be a very low cap on the number of requests that can be serviced by it. After making a few requests, it would simply refuse the connection. But try again a minute or two later, and it would work.
I think this is due to browsers trying to keep the socket open (keep alive) - it seemed to be markedly improved - possibly solved - by adding Connection: close to the http headers. Has anyone else noticed/investigated this issue? Is my diagnosis correct? If so, should it be added to the documentation?
Beta Was this translation helpful? Give feedback.
All reactions