Closed Vidski closed 3 years ago
Thank you @Vidski, I've just released version uwebsockets-express@1.1.10
with a fix for this and also the aborting request problem!
Let me know if this works for you! If you happen to have any other issue please let me know too :)
Sending a request, where the Content-Length header is bigger than the actual content size will result in a
Error: socket hang up
. In my opinion, it should throw a400 Bad Request
.Example(Valid):
Result: 200 OK
Example(Invalid): Content-Length > 38
Result: Error: socket hang up