Joakim Tjernlund wrote:

> > If the server wants to timeout the connection, it
> > can and
> >should do so.

> Right, but I could not find how/where to do so. Can you give me some
> hints?

There's no "one right way" to do it. If the program only ever has to deal
with a single connection, using 'signal' might be the solution. On some
platforms, setting a receive timeout on the socket may be the right
solution. With non-blocking I/O, a timeout can easily be implemented after
the call to the I/O multiplexing function.

You may just have done something silly. For example, perhaps you were trying
to setup non-blocking I/O but set only the socket (and not the BIO)
non-blocking.

DS

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to