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
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.
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