1
0
mirror of synced 2025-07-27 23:41:48 +03:00

Fix multiple threading bugs including #699 and #697

This commit is contained in:
David Wu
2020-10-16 21:34:51 +00:00
committed by yhirose
parent 47e5af15ea
commit 02d3cd5909
3 changed files with 178 additions and 49 deletions

View File

@ -645,6 +645,12 @@ cli.set_ca_cert_path("./ca-bundle.crt");
cli.enable_server_certificate_verification(true);
```
Note: When using SSL, it seems impossible to avoid SIGPIPE in all cases, since on some operating systems, SIGPIPE
can only be suppressed on a per-message basis, but there is no way to make the OpenSSL library do so for its
internal communications. If your program needs to avoid being terminated on SIGPIPE, the only fully general way might
be to set up a signal handler for SIGPIPE to handle or ignore it yourself.
Compression
-----------