durusmail: quixote-users: Stop apache2 from timing on mod_scgi?
Stop apache2 from timing on mod_scgi?
2010-05-05
Stop apache2 from timing on mod_scgi?
glowingfaceman@gmail.com
2010-04-15
Hi everyone,

I'm Sam Alexander, new to the mailing list :)  I recently wrote a C
library for the SCGI protocol, I might publish it later after it goes
awhile without any bugs :)

Anyway I'm using mod_scgi with apache2 to forward requests to my C
program.  I want my C program to accept the requests and let them hang
until my program is ready to reply.

But it seems that if the apache-scgi connection hangs for about 5
seconds or more, Apache terminates it and sends the visitor a 500
Internal Server Error message.

Is there a way to edit the config files to stop this behavior?
Ideally, I'd like to leave the connections hanging indefinitely, until
such time as a response is ready.  Or if "indefinitely" isn't an
option, even 30 seconds would be fine.

Thanks a lot.  And thanks so much for developing the SCGI protocol!
It does the same thing as fastCGI and yet the entire protocol is
shorter than one section of the fastCGI protocol!!  :D

Sam
http://www.xamuel.com
reply