summaryrefslogtreecommitdiff
path: root/src/lib/libc/string
diff options
context:
space:
mode:
authorbluhm <>2015-01-13 17:35:35 +0000
committerbluhm <>2015-01-13 17:35:35 +0000
commit3fd2d1d95424716eaf5c4ecf17d6bf0be444a372 (patch)
tree675defc54ce1d8f4c3d5203592fb373c717de34d /src/lib/libc/string
parentdda895dbd2777a18c7cdf12a3ec6dd1c0c433b46 (diff)
downloadopenbsd-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')
0 files changed, 0 insertions, 0 deletions