serrislew commented on code in PR #9896:
URL: https://github.com/apache/trafficserver/pull/9896#discussion_r1253520447


##########
plugins/experimental/wasm/ats_context.cc:
##########
@@ -1533,11 +1708,18 @@ Context::getHeaderMap(WasmHeaderMapType type)
     return {};
   case WasmHeaderMapType::ResponseTrailers:
     return {};
+  case WasmHeaderMapType::HttpCallResponseHeaders:
+    if (cr_hdr_buf_ == nullptr || cr_hdr_loc_ == nullptr) {
+      return {};
+    }
+    map.bufp    = cr_hdr_buf_;
+    map.hdr_loc = cr_hdr_loc_;
+    return map;
+  case WasmHeaderMapType::HttpCallResponseTrailers:

Review Comment:
   nit-picky: didn't need to be added. no change in functionality 



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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to