-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Micah Cowan wrote:
> Todd Plessel wrote:
>> Q2. If not, then could the PERL-CGI script be modified to spawn a
>> thread that writes an ack to stderr to keep the httpd from timing-out?
>> If so, can you point me to some sample code?
> 
> This would be the better solution; but I don't know how it's done. I
> think some servers will automatically send an ack if you write
> something, anything, to stderr, but I'm not sure. You'll have to check
> in your server's documentation.

You could possibly hack the server source (if you have access to it) to
set the SO_KEEPALIVE socket option.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG6aXW7M8hyUobTrERCKLmAJsHxEDjacLwkLOkZn9XBgGZypIWrgCfTg19
Z2irIp3baPgMI0iAD++Kh5M=
=+R6Z
-----END PGP SIGNATURE-----

Reply via email to