diff options
author | bluhm <> | 2015-01-13 17:35:35 +0000 |
---|---|---|
committer | bluhm <> | 2015-01-13 17:35:35 +0000 |
commit | 3fd2d1d95424716eaf5c4ecf17d6bf0be444a372 (patch) | |
tree | 675defc54ce1d8f4c3d5203592fb373c717de34d /src/lib/libc/string/strlcat.c | |
parent | dda895dbd2777a18c7cdf12a3ec6dd1c0c433b46 (diff) | |
download | openbsd-3fd2d1d95424716eaf5c4ecf17d6bf0be444a372.tar.gz openbsd-3fd2d1d95424716eaf5c4ecf17d6bf0be444a372.tar.bz2 openbsd-3fd2d1d95424716eaf5c4ecf17d6bf0be444a372.zip |
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@
Diffstat (limited to 'src/lib/libc/string/strlcat.c')
0 files changed, 0 insertions, 0 deletions