mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
fe04651c77
SSL now follows NSPR socket semantics and never returns a short write count on a blocking socket. On a blocking socket, it returns either the full count or -1 (with an error code set). For non-blocking sockets, SSL no longer returns a full write count when some of the data remains buffered in the SSL record layer. Instead it returns a number is that always at least 1 byte short of a full write count, so that the caller will keep retrying until it is done. SSL makes sure that the first byte sent by the caller in the retry matches the last byte previously buffered. r=rrelyea. Modified Files: ssl3con.c sslcon.c ssldef.c sslimpl.h sslsecur.c |
||
---|---|---|
.. | ||
cmd | ||
lib | ||
pkg | ||
tests | ||
Makefile | ||
manifest.mn | ||
trademarks.txt |