Hi folks,
Why a request from the browser fails, but not from curl on the terminal
everything works find? - Or ask the other way around: how can i do long answer
responses?
This is my setup:
Pound is configured with
Alive 2
ConnTO 30
Client 115
TimeOut 30
And a wrote this demo-script:
--------------------------
#!/usr/bin/perl
$| = 1;
print "Content-Type: text/html\n\n";
print "." x 1024;
for(1..6){
sleep(10);
print ". \n";
}
print "done.";
--------------------------
in curl i get the whole result:
# curl http://vm-box.dev/cgi-bin/hello.pl
.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
.
.
.
.
.
done.#
But in the browser, pound is terminating the session after exact 30 secunds
and the log tells me:
e500 for 192.168.56.1 response error read from 127.0.0.1:8000/GET
/cgi-bin/hello.pl HTTP/1.1: Connection timed out (30.009 secs)
First, i do not understand why it works with curl. Second - and more importend
- how can i pass a long result throw pound?
Thanx a lot for any thoughts.
ps
--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.