I want to use timeout with select and I wonder how to cancel operation
(SSL_read or SSL_write non-blocking) that caused SSL_ERROR_WANT_READ (or
*_WRITE). I've got messages queue to send (and one for received too). If
I cannot send whole particular msg within some time (5 sec) I want to
What I think is as its the application's responsibility to retry
the same openssl operation whenever it receives a WANT_READ or
WANT_WRITE, why cant we simply overwrite the buffer that is passed
to say SSL_write with the next payload that needs to be sent when we hit
that error code, in this
Exactly what david says...
why would you want to risk data loss ??
Lokesh.
On 6/2/05, Gayathri Sundar [EMAIL PROTECTED] wrote:
Hi,
What I think is as its the application's responsibility to retry
the same openssl operation whenever it receives a WANT_READ or
WANT_WRITE, why cant we
HI,
You may want to consider using SSL_CTX_set_mode(...)
with SSL_MODE_AUTO_RETRY flag such that you would'nt recieve
SSL_ERROR_WANT_XXX messages.
Normally those messages come when the other side requests for re-negotiation.
-Lokesh.
On 5/31/05, opt [EMAIL PROTECTED] wrote:
Hi everyone
I
Hi,
What I think is as its the application's responsibility to retry
the same openssl operation whenever it receives a WANT_READ or
WANT_WRITE, why cant we simply overwrite the buffer that is passed
to say SSL_write with the next payload that needs to be sent when we hit
that error code, in this
Hi everyone
I want to use timeout with select and I wonder how to cancel operation
(SSL_read or SSL_write non-blocking) that caused SSL_ERROR_WANT_READ (or
*_WRITE). I've got messages queue to send (and one for received too). If
I cannot send whole particular msg within some time (5 sec) I