Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2008-05-20 09:53:05 -0700 (Tue, 20 May 2008)
Revision: 12933
Log message:
In lm_ssl_flush:
- Wraped the flush call in a enter/leave_blocking_section
- Added an "XXX: BUG" comment about it being an error not to check the return
value of the BIO_flush call. According to the man page:
BIO_flush(), because it can write data may return 0 or -1
indicating that the call should be retried later
in a similar manner to BIO_write(). The
BIO_should_retry() call should be used and appropriate
action taken is the call fails.
Changes | Path(relative to libmojave/cutil) |
+8 -0 | lm_ssl.c |