Hi,
The application I am writing has requirement that
after a request is sent to server, it should hear from the server in xyz
seconds.
With normal tcp socket, i can achieve this
through select() function. But how do I achieve this for SSL_read?
As I understand from last few threads on this
group, a select() will just tell the application that some bytes are available
in the tcp buffer for the layer above to read. But select does not distinguish
between application data and control data (renegotiation data).
So will select() be really able to tell me that
the next SSL_read() will succeed immediately and fill application buffer
with the server's response?
What if my server and client are not going to
renegotiate ever? In that case would a hit from select() indicate availability
of application data only?
Thank you,
~ Urjit DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.
|
- timeout for SSL_read ? Urjit Gokhale
- RE: timeout for SSL_read ? Mark
- Re: timeout for SSL_read ? Marek Marcola
- RE: timeout for SSL_read ? David Schwartz