Problem:
I'm using
wget -q -T 0 -O - 'http://some.remote.host/cgi-bin/some_script?...'
to access a PERL-CGI script on a remote
computer running Apache httpd that is configured with a 300 second
timeout.
The script sometimes takes more than 300 seconds to begin sending
data (because there is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Todd Plessel wrote:
Q1. Is there a way that I can run wget that somehow avoids this
timeout. For example, by sending an out-of-band ack to stderr every
30 seconds so httpd does not disconnect.
By out-of-band, I mean it cannot be included in the
-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