You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/08/30 20:59:28 UTC
[GitHub] [trafficserver] ywkaras commented on a diff in pull request #8790: Fix an error on SSL config reload (plus some cleanup).
ywkaras commented on code in PR #8790:
URL: https://github.com/apache/trafficserver/pull/8790#discussion_r958924616
##########
src/traffic_server/InkAPI.cc:
##########
@@ -1873,6 +1887,122 @@ _TSfree(void *ptr)
ats_free(ptr);
}
+// Support code for TSHeapBuf.
+namespace
+{
+class HeapBuf
Review Comment:
OK I see what you mean now. But that will still mean doubling the number of memory allocations. Also mice that HeapBuf encapsulates the reinterpret_casts.
--
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-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org