JakeChampion commented on code in PR #12201:
URL: https://github.com/apache/trafficserver/pull/12201#discussion_r2056285205


##########
plugins/compress/compress.cc:
##########
@@ -233,6 +255,9 @@ content_encoding_header(TSMBuffer bufp, TSMLoc hdr_loc, 
const int compression_ty
   } else if (compression_type & COMPRESSION_TYPE_DEFLATE && (algorithm & 
ALGORITHM_DEFLATE)) {
     value     = TS_HTTP_VALUE_DEFLATE;
     value_len = TS_HTTP_LEN_DEFLATE;
+  } else if (compression_type & COMPRESSION_TYPE_ZSTD && (algorithm & 
ALGORITHM_ZSTD)) {
+    value     = "zstd";
+    value_len = strlen("zstd");

Review Comment:
   Note to self: These should be moved into TS_HTTP_VALUE_ZSTD and 
TS_HTTP_LEN_ZSTD



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