We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keepAlive
When building Kitura with NIO, the keepAlive option is causing a crash of the server.
Tried on MacOS 10.15.3, with Swift 5.1.3 using Kitura 2.9.1.
Kitura.addHTTPServer(onPort: 8080, with: router, keepAlive: .disabled)
KeepAliveState.swift
This issue can also be reproduced by setting the keepAlive to .limited(maxRequests: X) and trying to connect X+1 time to the server.
.limited(maxRequests: X)
X+1
It worth noting that this issue doesn't affect the non NIO version of Kitura.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Context and Description
When building Kitura with NIO, the
keepAlive
option is causing a crash of the server.Environment Details
Tried on MacOS 10.15.3, with Swift 5.1.3 using Kitura 2.9.1.
Steps to Reproduce
keepAlive
option:KeepAliveState.swift
line 40This issue can also be reproduced by setting the
keepAlive
to.limited(maxRequests: X)
and trying to connectX+1
time to the server.It worth noting that this issue doesn't affect the non NIO version of Kitura.
Expected vs. Actual Behaviour
The text was updated successfully, but these errors were encountered: