DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20295>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20295

Uploading large multipart/form-data sometimes fails





------- Additional Comments From [EMAIL PROTECTED]  2003-06-03 14:46 -------
>I'm guessing that poll() is setting POLLOUT to always be true, hence the 
>following call to write() may still block.  For the CGI client FD, 
>pollset.desc_type = APR_POLL_FILE.

This may be the problem, though that file descriptor is really a pipe as far as
the kernel goes, not a regular file.  (APR uses an apr_file_t representation for
a pipe, hence the APR_POLL_FILE usage.  From APR's perspective, it is a
descriptor represented by either an apr_socket_t or an apr_file_t.)

I hope to create a test program that spawns a script that reads from stdin, and
then pumps large quantities of data to the script via apr_file_write_full(),
like mod_cgi.  It will be great to see if it behaves differently on HP-UX 11.00
or HP-UX 11i (the two HP-UX platforms I have access to) vs. other Unix-ish
platforms.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to