mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-11-26 20:48:24 +00:00
Describe KeepAliveConnection as the one serving path
The comments said these connections belong to keep-alive parking, which is no longer true now that every accepted socket is served through one.
This commit is contained in:
1 parent
84acde731b
commit
eea8ce9798
2 files changed
+11
-11
No files matched your search
+2
-2
@@ -6442,8 +6442,8 @@ TEST(ServerExceptionTest, ThrowingWebSocketHandlerDoesNotKillTheServer) {
|
||||
|
||||
#ifdef CPPHTTPLIB_SSL_ENABLED
|
||||
TEST(ServerExceptionTest, ThrowingContentProviderDoesNotKillTheSSLServer) {
|
||||
// SSLServer::process_and_close_socket() is a separate overload with its own
|
||||
// guard, so it is exercised on its own.
|
||||
// SSLServer serves through its own connection type, so it is exercised on
|
||||
// its own.
|
||||
SSLServer svr(SERVER_CERT_FILE, SERVER_PRIVATE_KEY_FILE);
|
||||
ASSERT_TRUE(svr.is_valid());
|
||||
svr.new_task_queue = [] { return new ThreadPool(1); };
|
||||
|
||||
Reference in new issue
Block a user