-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I know this doesn't support POST requests, but I'm playing around with the source code and I'm stuck as dealing with the body of a request, as it doesn't end in a CRLF, so the while read loop running in _tsws_response hangs.
If I get a second request, I can verify that the last line from the body is appended to the beginning of a new request, like so:
POST / HTTP/1.1
Host: localhost:18000
User-Agent: curl/7.68.0
Accept: */*
Content-Length: 7
Content-Type: application/x-www-form-urlencoded
test=okPOST / HTTP/1.1 # <!--- beginning of the second requestI'm using the netcat with named pipes variant.
I couldn't find a way to avoid this issue using named pipes, anyone know any alternatives?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels