Hello, I'm using non-blicking sockets with an event-reporting mechanism
(epoll() on linux, kqueue() on freeBSD and select() elsewhere). When I
try and send bigger amount of data (eg: a file) via a connection via
OpenSSL, I eventually get "Operation not permitted" error on SSL_Write().
It always happens after I get a SSL_ERROR_WANT_WRITE first. After that I
set the socket to "wait for epoll() to report that I can write again"
and wait for it. Epoll tells me that I can write but I get the not
permitted error after that.
Does OpenSSL return this error on repeated non-blocking SSL_Write when
the buffers are full? I'm currently trying to find out if there's an
error in my state-machine logic but I'd like to know if the permission
error could result from such.
Thanks
Ales Katona
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]