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.

I would belive that print should be responsible for the handing short
writes itself.  On what system are you running and what perl version
are you using?

What could make sense to to rewrite Net::HTTP so that it use syswrite
all over the place instead.  With it we can easily handle short writes
outself.

Regards,
Gisle

Reply via email to