Re: Bingo!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-- Gabor Gombas <gombasg@xxxxxxxxx> is rumored to have mumbled on 17. November 2007 14:34:02 +0100 regarding Re: Bingo!:

I'm not sure what to make of that. I would assume that we've got a
blocking  BIO, because it is - d'oh - blocking. But I don't see how you
influence  what kind of BIO you use.

A BIO is non-blocking if the underlying file (socket) descriptor has the
O_NONBLOCK flag set, either during open or by a previous call to
fcntl().

And yes, if O_NONBLOCK was not set on a socket, then any OpenSSL
operations can block pretty much indefinitely.

Thanks for the explanation.
--
Sebastian Hagedorn - Postmaster - RZKR-R1 (Flachbau), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587

Attachment: pgpvdTX8gXUc7.pgp
Description: PGP signature

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux