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
When I send data to it, onData() never gets called, or gets called with 12 byte string unrelated to what I actually sent. onEnd() gets called every time.
Thanks!
The text was updated successfully, but these errors were encountered:
I just noticed that by simply commenting out the onEnd handler suddenly the onData handler gets called. And by commenting out only the res->end(body); line I see that the onEnd handler is called 3 times, one at start, one in the middle and one at end. This seems like a bug to me.
I am having trouble implementing this example but by using
onData()
handler instead ofcollectData()
:https://github.com/azadkuh/qhttp/tree/master/example/postcollector
Would you be so kind as to give us some pointers?
In short, my naive approach looks like this:
When I send data to it,
onData()
never gets called, or gets called with 12 byte string unrelated to what I actually sent.onEnd()
gets called every time.Thanks!
The text was updated successfully, but these errors were encountered: