<>Apache/2.0.40 (Red Hat Linux) Perl/v5.8.0 built for i386-linux-thread-multi mod_perl/1.99_07-dev just to get that out of the way. problem i have is that we are running a stripped down version of CGI.pm that on a post does: my $input = undef; my $method = $ENV{ 'REQUEST_METHOD' }; my $content_type = $ENV{ 'CONTENT_TYPE' }; if ( $method eq 'POST' ) { no strict; # # Do sysread in an eval because it doesn't work on all platforms # eval ( "sysread( \STDIN, \$input, $ENV{ 'CONTENT_LENGTH' } )" ); # # Do a read if sysread failed # $@ gets set to undef if eval succeeds or an error string if it fails # if ( $@ ) { read( STDIN, $input, $ENV{ 'CONTENT_LENGTH' } ); } We've encountered a problem where occassionally, we arent reading the full content-length.... sometimes 2 characters... somtimes 7... variable low numbers very intermittent... less than .1% requests... have seen if run enough under a single server situation as well. so question is... is there a bug in our particular setup? i did find references to a post error with mod-perl but it was always truncating at the same length.. or is there a mod-perl gotcha that i'm just an aware of? if this isnt the right place for this quesiton... please let me know... thanks in advance for the help... -- Sean T. Allen <[EMAIL PROTECTED]> > |
- Re: Post truncation problem Sean T Allen
- Re: Post truncation problem Stas Bekman
- Re: Post truncation problem Kurt Hansen
- Re: Post truncation problem Stas Bekman
- Re: Post truncation problem Kurt Hansen
- Re: Post truncation problem Stas Bekman
- Re: Post truncation problem Kurt Hansen