On Sun Jan 13 07:03:49 2008, MBARBON wrote:
Show quoted text> Hi,
> I noticed that in HTTP::Async, connect and write are
> blocking operations. Since I need to handle gracefully
> network problems and big POST to slow servers, I performed
> some changes to HTTP::Async.
>
> I believe most of it could be done in a subclass if needed,
> but since it seems a useful functionality, I am submitting here
> as a patch.
>
> Apart from tests for the functionality, it adds:
> - A Net::HTTP::NB subclass to handler asynchronous connect and
> buffered write
> - adds a second IO::Select object to HTTP::Async to handle writes,
> plus the necessary code to handle buffered writes
>
> Let me know what you think.
>
> Regards,
> Mattia
Hi,
i think it's similar to the problem i've encountered.
i've posted a new bug on how the timeout param isn't transfered, so that
way the fact the connect is syncronicly can really damange the async
way of things in the module.
can you send me the new module you've rewritten, (NBR),
do you think of submitting it to CPAN?
thanks,
eyal