Skip to content

HTTPServerConnection::onServerStopped does not halt poll #3985

Description

@micheleselea

When you call httpServer->stoppAll(true) we end up in
HTTPServerConnection::onServerStopped -> with abortConnection true
if the http connection is in keepalive waiting for socket().poll(_keepAliveTimeout, Socket::SELECT_READ)
on windows you are waiting for epoll_wait that call GetQueuedCompletionStatusEx
the .close() done in onServerStopped is not enough to exit without waiting for keepalive timeout occur

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions