Skip to content

Commit 08c8a1e

Browse files
committed
Revert signal-handling
1 parent 39d0acc commit 08c8a1e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

httplib.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8618,11 +8618,7 @@ inline ClientImpl::ClientImpl(const std::string &host, int port,
86188618
const std::string &client_key_path)
86198619
: host_(detail::escape_abstract_namespace_unix_domain(host)), port_(port),
86208620
host_and_port_(detail::make_host_and_port_string(host_, port, is_ssl())),
8621-
client_cert_path_(client_cert_path), client_key_path_(client_key_path) {
8622-
#ifndef _WIN32
8623-
signal(SIGPIPE, SIG_IGN);
8624-
#endif
8625-
}
8621+
client_cert_path_(client_cert_path), client_key_path_(client_key_path) {}
86268622

86278623
inline ClientImpl::~ClientImpl() {
86288624
// Wait until all the requests in flight are handled.

0 commit comments

Comments
 (0)