mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-14 16:58:30 +00:00
Fixed warnings
This commit is contained in:
parent
6adf130bf3
commit
6613d7b7ad
1 changed files with 2 additions and 1 deletions
|
@ -3482,11 +3482,12 @@ TEST(SSLClientServerTest, SSLConnectTimeout) {
|
|||
|
||||
bool stop_;
|
||||
private:
|
||||
bool process_and_close_socket(socket_t sock) override {
|
||||
bool process_and_close_socket(socket_t /*sock*/) override {
|
||||
// Don't create SSL context
|
||||
while (!stop_) {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
};
|
||||
NoListenSSLServer svr(SERVER_CERT_FILE, SERVER_PRIVATE_KEY_FILE, CLIENT_CA_CERT_FILE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue