node-XMLHttpRequest icon indicating copy to clipboard operation
node-XMLHttpRequest copied to clipboard

send call hangs indefinitely

Open evilwhaleboy opened this issue 11 years ago • 3 comments

I want to make a post request to a Tomcat server with some data. If the data has more than 100kb the send call hangs indefinitely, and the server doesn't receive the request. Otherwise it works fine. As far as I know, I made the configurations on the server to receive posts of up to 20 MB, explicitly the maxPostSize configuration. Did any of you encounter such problem?

evilwhaleboy avatar May 23 '14 10:05 evilwhaleboy

Yes. I have the same problem.

wmakeev avatar May 29 '14 13:05 wmakeev

I forgot to say I was making my request synchronous

evilwhaleboy avatar May 29 '14 13:05 evilwhaleboy

if you're making the request synchronously, then you would expect it to hang until it returns. Is the server ever responding to the request?

AWinterman avatar Nov 07 '14 19:11 AWinterman