First request, if send with body takes forever #757
Replies: 2 comments
-
Hi @e3dio https://github.com/chubbyts/chubbyts-http/blob/master/src/message-factory.ts#L40 I guessed it's a known issues in using the library, thats why i ask. Using the default node server with the same code (except the code in uwebsocket). The stream created (by me, based on res.onData) won't receive any data or get to an end in the first request after the start.
|
Beta Was this translation helpful? Give feedback.
-
If you need help you should post complete simplified example and explain how you are testing making posts, preferably not in typescript and not across 3 different repos. Your onAborted function does nothing when it should be doing something |
Beta Was this translation helpful? Give feedback.
-
I work on a implementation to run my typescript web framework with uwebsockets. Without one expection its running great so far.
After started the server a request without a request body (res.onData) works well.
After started the server a request with a request body (res.onData) takes forever.
If the second call got a request body i got no issue at all.
I have no idea if i do something wrong.
https://github.com/chubbyts/chubbyts-uwebsockets-http-bridge/blob/master/src/uwebsocket-http.ts#L66
Beta Was this translation helpful? Give feedback.
All reactions