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
>> 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
>> 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