After upgrade to .19: POST requests hang!

andreas

Well-Known Member
#1
I upgraded to .19 and noticed that I don't get any reply on POST requests. The application receives the request, but the response never gets to the client. The process that is handling the POST request blocks the connection until I cancel the request. I am using LSAPI 1.4 and the Rewrite-setup for Rails.
 

mistwang

LiteSpeed Staff
#5
Can you please try below see if it is the cause of the problem?
In ruy-lsapi/ext/lsapi/lsruby.c, in function lsapi_read()
comment out
Code:
FD_ZERO( &readfds );
...
If (rb_thread_select(...) < 1 )
{
return Qnil;
}
The rb_thread_select() may block the execution when the post body is small. should not add that in 1.4. :mad:
 
Top