-
Notifications
You must be signed in to change notification settings - Fork 559
Description
The program works correctly on http1 and http2, but on http3 it returns a 400 Bad Request status, and the Host header is missing.
2025-03-30 10:03:23.478 +05:00 [DBG] Connection id "0HNBF903P4EI5" accepted.
2025-03-30 10:03:23.479 +05:00 [DBG] Connection id "0HNBF903P4EI5" started.
2025-03-30 10:03:23.480 +05:00 [DBG] Connection id "0HNBF903P4EI5" bad request data: "Request is missing Host header."
Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Request is missing Host header.
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Http1Connection.EnsureHostHeaderExists()
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Http1Connection.TryParseRequest(ReadResult result, Boolean& endConnection)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication1 application) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequestsAsync[TContext](IHttpApplication1 application)
2025-03-30 10:03:23.490 +05:00 [DBG] Connection id "0HNBF903P4EI5" disconnecting.
2025-03-30 10:03:23.490 +05:00 [DBG] Connection id "0HNBF903P4EI5" stopped.
2025-03-30 10:03:23.490 +05:00 [DBG] Connection id "0HNBF903P4EI5" sending FIN because: "The Socket transport's send loop completed gracefully."