Search this site

Metadata

Articles

Projects

Presentations

HTTP::Handle 0.2

After using HTTP::Handle heavily in my new link spider for work, I found a bunch of bugs and pitfalls that would snag it and make it eat iself. The lacking-features and bugs I found were added and fixed, respectively.

* $http->connect() now returns -1 on failure.
   Connections will fail on 3 occaisions: socket() fails, connect() fails, or the dns lookup on the hostname fails.
* After the socket is connected, $http->connect() can fail if no data is recevied in a given timeout period, which can be set. See perldoc HTTP::Handle.

It should be up on CPAN sometime later this morning, I just uploaded it.


0 responses to 'HTTP::Handle 0.2'

Showing last 0 comments... (Click here to view all comments)


Leave a reply

You need javascript enabled to use this form. Anti-spam efforts ongoing. Also, if the comment doesn't show up, it's because the form expired. Go back and copy your comment, reload the form, and resubmit. Apologies if this is a hassle, I'm just playing with antispam methods right now. If this insists on not working, please email me about it.

Name (required)
E-mail (optional, if you want me to be able to email you back)
URL (also optional)
Comment: