mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Make a few fixups
This commit is contained in:
parent
a5849f8549
commit
6070a53e89
8 changed files with 176 additions and 88 deletions
|
@ -413,6 +413,7 @@ bool Recv(unsigned char *p, size_t n) {
|
|||
do {
|
||||
rc = mbedtls_ssl_read(&ezssl, p + i, n - i);
|
||||
} while (rc == MBEDTLS_ERR_SSL_WANT_READ);
|
||||
if (!rc) return false;
|
||||
if (rc < 0) {
|
||||
TlsDie("read response failed", rc);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue