mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-12-05 22:18:27 +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
a03116d933
commit
4306ff2d09
2 files changed
+11
-11
No files matched your search
+2
-2
@@ -6571,8 +6571,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