You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Dirk Lutzebaeck <lu...@aeccom.com> on 2000/07/13 21:51:23 UTC

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

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 perl script ...
 > 
 > print "something ...\n";
 > my $lines = "\n" x 4096;
 > print $lines; # now proxy server is happy at this point.

Yes, thanks I just tried it, it works! The only drawback is that I
have to send always 4k possibly over slow lines to get some timely
messages across...

Dirk