in reply to A non-blocking socket operation could not be completed ?
As line 276 of HTTP::Methods on CPAN is a comment, you're probably down-level, so upgrading LWP might fix you up.
The error message usually mean that the systems call has return EAGAIN, and needs to be retried. And that fits with the code nearby on CPAN:
## 276 # consume all incoming bytes while(1) { my $bytes_read = $self->sysread($_, 1024, length); if(defined $bytes_read) { $new_bytes += $bytes_read; last if $bytes_read < 1024; } elsif($!{EINTR} || $!{EAGAIN} || $!{EWOULDBLOCK}) +{ redo READ; } ...
Doesn't explain why it would suddenly start failing now ... but worth a look.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A non-blocking socket operation could not be completed ?
by ikegami (Patriarch) on May 16, 2016 at 23:23 UTC | |
|
Re^2: A non-blocking socket operation could not be completed ?
by slugger415 (Monk) on May 17, 2016 at 14:28 UTC |