maskit commented on a change in pull request #6731:
URL: https://github.com/apache/trafficserver/pull/6731#discussion_r419193091



##########
File path: proxy/http/HttpTunnel.cc
##########
@@ -479,8 +479,8 @@ HttpTunnel::reset()
 
   num_producers = 0;
   num_consumers = 0;
-  memset(consumers, 0, sizeof(consumers));
-  memset(producers, 0, sizeof(producers));
+  ink_zero(consumers);

Review comment:
       I don't think this is a right way to solve the problem. I'd use 
placement new for each item.




----------------------------------------------------------------
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:
[email protected]


Reply via email to