You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a server that is functionally similar in setup to hummingbird-examples/http2, when I use async-http-client to make a request with a command line program that exits after the request, humming bird reports this error:
[HummingbirdHTTP2] Error handling inbound connection for HTTP2 handler: uncleanShutdown
Great, ok. So I think this is a problem with shutdown in the NIOTS backend, which does not auto-promote the shutdown to half-closure. I think if we explicitly performed half-closure everywhere, this would resolve matters.
I have a server that is functionally similar in setup to
hummingbird-examples/http2
, when I use async-http-client to make a request with a command line program that exits after the request, humming bird reports this error:I do not see the same error when using curl:
relevant code in the
run() async throws
method of anAsyncParsableCommand
:I've tried many variations that all execute
await client.shutdown()
before exiting and they all result in this error. From what Cory says here: https://forums.swift.org/t/niossl-spurious-uncleanshutdown-error/53031/3 it seems like AHC isn't sending CLOSE_NOTIFY on shutdown?The text was updated successfully, but these errors were encountered: