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:
yhirose committed 2026-11-25 23:00:11 -05:00
1 parent 84acde731b
commit eea8ce9798
2 files changed
+11 -11

No files matched your search

+2 -2
View File
@@ -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); };