hnakamur commented on code in PR #12226:
URL: https://github.com/apache/trafficserver/pull/12226#discussion_r2078830548


##########
src/proxy/http/HttpTransact.cc:
##########
@@ -7527,9 +7527,9 @@ HttpTransact::handle_parent_down(State *s)
 void
 HttpTransact::handle_server_down(State *s)
 {
-  const char *reason    = nullptr;
-  const char *body_type = "UNKNOWN";
-  HTTPStatus  status    = HTTP_STATUS_BAD_GATEWAY;
+  const char *reason = nullptr;
+  const char *body_type;

Review Comment:
   Thanks! Fixed at 
[afe6f76](https://github.com/apache/trafficserver/pull/12226/commits/afe6f767418cd7828d3aadcaef06fa63073ee1f9).



##########
src/iocore/net/UnixNetVConnection.cc:
##########
@@ -663,7 +663,7 @@ UnixNetVConnection::net_write_io(NetHandler *nh)
       nh->write_ready_list.remove(this);
     }
 
-    int err, ret;
+    int err{0}, ret;

Review Comment:
   Thanks! Fixed at 
[afe6f76](https://github.com/apache/trafficserver/pull/12226/commits/afe6f767418cd7828d3aadcaef06fa63073ee1f9).



-- 
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: github-unsubscr...@trafficserver.apache.org

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

Reply via email to