CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2015/01/13 10:35:35
Modified files: lib/libtls : tls_client.c tls_internal.h Log message: For non-blocking sockets tls_connect_fds() could fail with EAGAIN. Use the same logic from the read, write, accept functions to inform the caller wether a readable or writable socket is needed. After that event, the connect function must be called again. All the checks before connecting are done only once. OK tedu@