isapir commented on code in PR #761:
URL: https://github.com/apache/tomcat/pull/761#discussion_r1794578764


##########
java/org/apache/catalina/connector/Response.java:
##########
@@ -1209,7 +1213,11 @@ public void setStatus(int status) {
             return;
         }
 
-        getCoyoteResponse().setStatus(status);
+        if(103 == status) {
+            sendEarlyHints();
+        } else {
+            getCoyoteResponse().setStatus(status);

Review Comment:
   So we don't need to call this method if the status code is 103?



-- 
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: dev-unsubscr...@tomcat.apache.org

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