[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaSec with nonblocking sockets
- From: Bezobiuk Volodymyr <dedoogun@...>
- Date: Tue, 5 Mar 2013 02:41:42 +0200
Well, for whom it may concern: the luasec will perform multiplexing (performing select()/poll() inside of socket_waitfd()) on socket in case of partial SSL reads/writes, so having O_NONBLOCK sockets and performing classic poll-ing by external code wouldn't help - it can still block until timeout. The code is obvious. Sorry for buzzing...