Skip Menu |

This queue is for tickets about the Net-Async-HTTP CPAN distribution.

Report information
The Basics
Id: 92425
Status: resolved
Priority: 0/
Queue: Net-Async-HTTP

People
Owner: Nobody in particular
Requestors: kiyoshi.aman [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: on_error no longer being called on errors.
on_error handlers for e.g. ->do_request appear to no longer get called, e.g. when a request times out.
http://pastie.org/8663885 -- example code; errors should be prefixed with 'Error:'. http://pastie.org/8663889 -- example output.
On Thu Jan 23 15:59:04 2014, AERDAN wrote: Show quoted text
> on_error handlers for e.g. ->do_request appear to no longer get > called, e.g. when a request times out.
Please retest with latest IO::Async (0.62) and NaHTTP (0.34). Seems fine to me: $ perl rt92425.pl http://127.0.0.20/ ... Attempting to fetch title for http://127.0.0.20/... Error: 127.0.0.20:80 - connect: Connection refused failed [Connection refused] 127.0.0.20:80 - connect: Connection refused failed [Connection refused] at rt92425.pl line 169. -- Paul Evans
No response in 18 months; presuming resolved. Feel free to reƶpen if not. -- Paul Evans