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
The request will show up in the lua stdout and the server will respond as usual.
However you will see that the connection in netcat has not been closed yet.
If you now terminate netcat by pressing ctrl+c the server will indefinitely call the onstream callback.
Unfortunately I could not find a way to prevent this or block the request from outside the module.
To me it looks like the server is still waiting for data?
The text was updated successfully, but these errors were encountered:
Sending a malformed request to any http.server will cause it to indefinitely call the onstream function.
How to replicate:
examples/server_hello.lua
echo -e -n "GET / HTTP/1.1\r\n\r\n\r\n" > request
The file will look like this:
nc 127.0.0.1 80 < request
The request will show up in the lua stdout and the server will respond as usual.
However you will see that the connection in netcat has not been closed yet.
If you now terminate netcat by pressing ctrl+c the server will indefinitely call the onstream callback.
Unfortunately I could not find a way to prevent this or block the request from outside the module.
To me it looks like the server is still waiting for data?
The text was updated successfully, but these errors were encountered: