can't get unbuffered output to work

2000-07-13 Thread Dirk Lutzebaeck
Hi, unbuffered output in a handler just doesn't work for me: Location /unbuffered Options ExecCGI SetHandler perl-script PerlHandler My::Handler /Location package My::Handler; sub handler { my $r = shift; $r-content_type('text/html'); $r-send_http_header; while(1) {

Re: can't get unbuffered output to work

2000-07-13 Thread Steve van der Burg
Hi, unbuffered output in a handler just doesn't work for me: [ details of setup and handler snipped ] If I 'GET /unbuffered' in Netscape nothing is printed until I stop the server. Setting $|++ does not help. Something is still buffering. This is modperl 1.21 and Apache 1.3.12. Any clues?

Re: can't get unbuffered output to work

2000-07-13 Thread Dirk Lutzebaeck
Steve van der Burg writes: Hi, unbuffered output in a handler just doesn't work for me: [ details of setup and handler snipped ] If I 'GET /unbuffered' in Netscape nothing is printed until I stop the server. Setting $|++ does not help. Something is still buffering. This is modperl

Re: can't get unbuffered output to work

2000-07-13 Thread Eric Cholet
Steve van der Burg writes: Hi, unbuffered output in a handler just doesn't work for me: [ details of setup and handler snipped ] If I 'GET /unbuffered' in Netscape nothing is printed until I stop the server. Setting $|++ does not help. Something is still buffering. This is

Re: can't get unbuffered output to work

2000-07-13 Thread Dirk Lutzebaeck
Eric Cholet writes: Steve van der Burg writes: Hi, unbuffered output in a handler just doesn't work for me: [ details of setup and handler snipped ] If I 'GET /unbuffered' in Netscape nothing is printed until I stop the server. Setting $|++ does not help. Something is

Re: can't get unbuffered output to work

2000-07-13 Thread Chip Turner
Dirk Lutzebaeck [EMAIL PROTECTED] writes: I've noticed that MSIE doesn't start displaying stuff until it has a certain amount, say a few hundred bytes. After that it displays just fine. No, doesn't seem to matter in my case. Is there any place I can verify that Apache has sent some

Re: can't get unbuffered output to work

2000-07-13 Thread Dirk Lutzebaeck
Chip Turner writes: Dirk Lutzebaeck [EMAIL PROTECTED] writes: I've noticed that MSIE doesn't start displaying stuff until it has a certain amount, say a few hundred bytes. After that it displays just fine. No, doesn't seem to matter in my case. Is there any place I can

Re: can't get unbuffered output to work

2000-07-13 Thread Chip Turner
Dirk Lutzebaeck [EMAIL PROTECTED] writes: Chip Turner writes: You can always use the definitive test of tcpdump on the client machine. Something like (on linux): /usr/sbin/tcpdump -s 4096 -w packets.out src (host) and port 80 Then examine packets.out for what data is

Re: can't get unbuffered output to work

2000-07-13 Thread darren chamberlain
Dirk Lutzebaeck ([EMAIL PROTECTED]) said something to this effect: No, doesn't seem to matter in my case. Is there any place I can verify that Apache has sent some data to the client? try: $ telnet myhost 80 GET / HTTP/1.0 (two carriage returns) You should see what the server is sending.

Re: can't get unbuffered output to work

2000-07-13 Thread Paul
--- darren chamberlain [EMAIL PROTECTED] wrote: Dirk Lutzebaeck ([EMAIL PROTECTED]) said something to this effect: No, doesn't seem to matter in my case. Is there any place I can verify that Apache has sent some data to the client? try: $ telnet myhost 80 GET / HTTP/1.0 (two

Re: can't get unbuffered output to work

2000-07-13 Thread James G Smith
Paul [EMAIL PROTECTED] wrote: --- darren chamberlain [EMAIL PROTECTED] wrote: Dirk Lutzebaeck ([EMAIL PROTECTED]) said something to this effect: No, doesn't seem to matter in my case. Is there any place I can verify that Apache has sent some data to the client? try: $ telnet myhost

RE: unbuffered proxying [was: can't get unbuffered output to work]

2000-07-13 Thread Dirk Lutzebaeck
Sheth, Niraj writes: I also had the same problem, but withouth ssl. i could think of two solution. 1. Modify front end apache's source code manually( i guess default is HUGE_STRING_LEN (8k)), but it sounds little scary .. so i opted for second choice ... 2. in your