remove dead code

This commit is contained in:
Adil Hafeez 2025-06-10 12:41:22 -07:00
parent 078fc924be
commit 0f8cca9660
No known key found for this signature in database
GPG key ID: 9B18EF7691369645

View file

@ -196,7 +196,6 @@ impl HttpContext for StreamContext {
// Envoy's HTTP model is event driven. The WASM ABI has given implementors events to hook onto
// the lifecycle of the http request and response.
fn on_http_request_headers(&mut self, _num_headers: usize, _end_of_stream: bool) -> Action {
// debug!("headers: {:?}", self.get_http_request_headers());
let request_path = self.get_http_request_header(":path").unwrap_or_default();
if request_path == HEALTHZ_PATH {
self.send_http_response(200, vec![], None);
@ -388,8 +387,6 @@ impl HttpContext for StreamContext {
}
};
// trace!("on_http_request_body: update request body to: {}, len: {}", String::from_utf8_lossy(&deserialized_body_bytes), deserialized_body_bytes.len());
self.set_http_request_body(0, body_size, &deserialized_body_bytes);
Action::Continue