Indy
Indy copied to clipboard
Http GET Request with content-length > 0
Hi, Remy!
First of all congratulations for your brilliant work!
I've noticed that a GET request with content-length > 0 and no payload (yes, it is a malformed header) hangs the connection, since the indy server is still waiting for some content.
My Indy production server is receiving some malformed requests of that kind from suspicious origins and I would like to know if there is some way to avoid this hang
Attached is a very simple project group illustrating the problem. Start the server, put any number into content-lenght on client and click on GET to see it hanging.
Thank you very much for any advice!