bneradt opened a new pull request, #14065: URL: https://github.com/apache/trafficserver/pull/14065
When a client speaks a protocol that a port has no acceptor for, such as HTTP/2 prior knowledge sent to a plaintext port that only enables HTTP/1.x, ATS logged only "Unregistered protocol type 1". That text names neither the client, the port, nor the protocol, so an operator seeing hundreds of them in diags.log cannot tell what is wrong or where to look. This patch has the warning name the client IP, the local port, and the protocol the client spoke, and points the operator at the port's proto= setting in proxy.config.http.server_ports. This patch also adds a urtest that sends an h2c preface to a default plaintext port and checks the new message. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
