]> granicus.if.org Git - curl/commit
Fixed the usage of SSL_read() to properly return -1 if the EWOULDBLOCK
authorDaniel Stenberg <daniel@haxx.se>
Thu, 19 Dec 2002 15:45:15 +0000 (15:45 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 19 Dec 2002 15:45:15 +0000 (15:45 +0000)
commit39dc14c0025fe942efcd4a7b903443fa0c9ae4a0
tree2d102ba230c7d900a1159819ea7a71b5d2797003
parent04c499a5fc1d9120628737baa6565a6eb20a70fa
Fixed the usage of SSL_read() to properly return -1 if the EWOULDBLOCK
situation occurs, which it previously didn't!

This was reptoed by Evan Jordan in bug report #653022.

Also, if ERROR_SYSCALL is returned from SSL_write(), include the errno number
in the error string for easier error detection.
lib/sendf.c