You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically if your request is tiny, all data arrives in a chunk and the connection is closed at once.
Espruino currently handles the data coming in properly, but the close event comes in before the 'open' event has executed, so no handler was added yet and nothing is executed for it.
Maybe this could be fixed by queueing the event itself, rather than the functions that handle it - but that's a pretty big change.
The text was updated successfully, but these errors were encountered:
See http://forum.espruino.com/conversations/264143/#comment12149929
Basically if your request is tiny, all data arrives in a chunk and the connection is closed at once.
Espruino currently handles the data coming in properly, but the close event comes in before the 'open' event has executed, so no handler was added yet and nothing is executed for it.
Maybe this could be fixed by queueing the event itself, rather than the functions that handle it - but that's a pretty big change.
The text was updated successfully, but these errors were encountered: