Bug submitting large HTTP requests

2004-04-06 Thread Jamie Lokier
The subroutine Net::HTTP::Methods::write_request calls print, but doesn't check the return value. It's a non-blocking socket, so it's quite normal for the print to do a short write if the string is very large -- larger than the socket transmit buffer. The effect is that a large request fails to

Re: Bug submitting large HTTP requests

2004-04-06 Thread Gisle Aas
Jamie Lokier [EMAIL PROTECTED] writes: The subroutine Net::HTTP::Methods::write_request calls print, but doesn't check the return value. It's a non-blocking socket, so it's quite normal for the print to do a short write if the string is very large -- larger than the socket transmit buffer.

Re: Bug submitting large HTTP requests

2004-04-06 Thread Gisle Aas
Jamie Lokier [EMAIL PROTECTED] writes: Gisle Aas wrote: The subroutine Net::HTTP::Methods::write_request calls print, but doesn't check the return value. It's a non-blocking socket, so it's quite normal for the print to do a short write if the string is very large -- larger than