Closed jan-guenter closed 1 year ago
I think a lot of the information in this description is not correct though. For instance:
-I don't think a timeout mechanism can be implemented with HTTP and sendfile. -asmttpd is not single threaded or event driven. -asmttpd is already multi-threaded.
I think the only useful information would be this bit: "the server continues to send the remaining file data using the sendfile system call, but the client is no longer expecting the data. As a result, the server may become stuck in the sendfile system call"
But it doesn't explain why it gets stuck anyways, so there really isn't any new information.
Thanks for the info @nemasu Closing the PR.
I still think adding some info on this issue and its effects would be nice.
I was unsure of the actual impact described in the known issues as "Sendfile can hang if GET is cancelled."
Since I knew that GPT-4 was trained on all the public GitHub repos I asked ChatGPT if it knows asmhttpd and sure it did.
So I asked the following follow-up question:
Here is its full reply:
I found this reply very helpful and well written so added it to the
README.md
as a collapsed detail.