W
William
Hi,
I'm working on a CGI which invoked by IIS6.0. However, in the cgi perl
script, i have a read which should read all POST content. I found 2
things interesting
1. the read becomes blocking if I want to read more than it was
submitted
2. the $ENV{'CONTENT_LENGTH'} is not reliable. In my case, the content
is 16330 bytes but it tells me 16600.
Anyone see this behavior? How to do non-blocking read in CGI?
thanks,
william
I'm working on a CGI which invoked by IIS6.0. However, in the cgi perl
script, i have a read which should read all POST content. I found 2
things interesting
1. the read becomes blocking if I want to read more than it was
submitted
2. the $ENV{'CONTENT_LENGTH'} is not reliable. In my case, the content
is 16330 bytes but it tells me 16600.
Anyone see this behavior? How to do non-blocking read in CGI?
thanks,
william