]> granicus.if.org Git - curl/commit
openssl: stricter connection check function
authorJay Satiro <raysatiro@yahoo.com>
Thu, 12 May 2016 01:21:15 +0000 (21:21 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Thu, 12 May 2016 01:21:15 +0000 (21:21 -0400)
commit2968c839672dc01c45727b161bf1c72d6b804212
treea6869f0e43640cfd20b0e0290d04d60f01a2eae8
parent856baf5a46e9d5fb71950a648ac6d1600838584d
openssl: stricter connection check function

- In the case of recv error, limit returning 'connection still in place'
to EINPROGRESS, EAGAIN and EWOULDBLOCK.

This is an improvement on the parent commit which changed the openssl
connection check to use recv MSG_PEEK instead of SSL_peek.

Ref: https://github.com/curl/curl/commit/856baf5#comments
lib/vtls/openssl.c