scr/cpan — pull request #3 by olegwtf (2014-07-09 06:40:50+00:00)
Title: need to use start_SSL instead of new_from_fd for https connections

Because new_from_fd() erases internal IO::Socket variable (io_socket_timeout), but LWP gets timeout for read/write to socket from this variable. So, such connections may hangs up because of undefined timeout.

See also https://github.com/noxxi/p5-io-socket-ssl/issues/7 and https://github.com/benningm/LWP-Protocol-connect/pull/5

This commit also fixes rt#90411 (https://rt.cpan.org/Public/Bug/Display.html?id=90411)
Thanks!