markt-asf commented on issue #277:
URL: https://github.com/apache/tomcat/pull/277#issuecomment-616745000


   I'm curious why applications think they need to set the connection header. 
I'd expect the container to handle this. Further, applications that want to set 
this header can/should use `ServletRequest.getProtocol()` first to check it is 
appropriate to do so.
   
   If applied (and I'm not convinced it should be) the formatting of the PR 
needs fixing to be consistent with the Tomcat code. I'd also consider using 
UserDataHelper for the logging even though this isn't strictly a user data 
issue.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to