We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f696c50 commit d4d5476Copy full SHA for d4d5476
1 file changed
net/http/client.cpp
@@ -43,7 +43,6 @@ class PooledDialer {
43
photon::mutex init_mtx;
44
bool initialized = false;
45
bool tls_ctx_ownership = false;
46
- std::vector<IPAddr> src_ips;
47
48
// If there is a photon thread switch during construction, the constructor might be called
49
// multiple times, even for a thread_local instance. Therefore, ensure that there is no photon
@@ -81,6 +80,8 @@ class PooledDialer {
81
80
tcpsock.reset();
82
if (tls_ctx_ownership)
83
delete tls_ctx;
+ initialized = false;
84
+ tls_ctx_ownership = false;
85
}
86
87
ISocketStream* dial(std::string_view host, uint16_t port, bool secure,
0 commit comments