Merge branch 'master' of https://github.com/flowher/buggy_openssl_with_fullduplex
This commit is contained in:
commit
c4a98d6155
@ -3,6 +3,12 @@ buggy_openssl_with_fullduplex
|
|||||||
|
|
||||||
Toy code which shows problems with non-blocking, fullduplex I/O & renegotiation in OpenSSL
|
Toy code which shows problems with non-blocking, fullduplex I/O & renegotiation in OpenSSL
|
||||||
|
|
||||||
|
What is it:
|
||||||
|
This code shows that it is not possible to use SSL_write() and SSL_read() functions in the same
|
||||||
|
way as ::send() and ::recv().
|
||||||
|
The main difference between SSL_write/read functions and send/recv system calls is that
|
||||||
|
SSL_write function may in fact read data from the socket in some situations (similary
|
||||||
|
SSL_read may need to write data to the socket).
|
||||||
|
|
||||||
How it works:
|
How it works:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user