Re: sslpoe

2004-01-15 Thread Sam Vilain
On Thu, 15 Jan 2004 16:58, Rocco Caputo wrote; > Can you investigate this some more? I originally tried to use > Net::SSLeay's accept() and connect() in non-blocking mode, but that > broke the SSL session negotiation. From SSL_accept(3ssl): If the underlying BIO is non-blocking, SS

Re: sslpoe

2004-01-15 Thread Gabriel Kihlman
>> If it's the latter, we can defer calling it until select() says there's >> data ready. TIEHANDLE can do everything up to the accept() call, then >> we can wait for the client to send something before accepting the >> connection. > > Not sure but maybe we could select and peek until we got 11 b

Re: sslpoe

2004-01-15 Thread Gabriel Kihlman
>> I have not tested it very much but it shows my problem though.. >> If a non-ssl client connected and did not do anything everything just >> hung.. Net::SSLeay::accept only returns if it got bad data or a >> disconnect.. Mmmm single threaded apps.. [ ... ] > > Please let us know when you've fou