On Mon, Apr 22, 2002 at 07:46:28PM -0400, Peter Chen wrote:
> After digging deeper, I found out the issue stems from
> LWP::Prallel::Protocol::http.
> 
> In LWP::Prallel::Protocol::http::connect, it explictly creates
> IO::Socket::INET when it's in nonblocking mode, this overrides the
> original https protocol, and effectively disable any https support in
> nonblocking mode.
> 
> Consequently, PoCoCl::UserAgent does not support https either.

There's a good reason for this, I think.  At least, it's a half-good
reason.  Net::SSLeay requires sockets to be in blocking mode.  I'm not
sure why, but it probably has something to do with the underlying
protocol.

Perhaps PoCo::UserAgent can create the socket in blocking mode?  I'm
not sure what sort of effect that will have on multitasking within
POE.

-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sf.net

Reply via email to