Skip to content

Commit

Permalink
fds
Browse files Browse the repository at this point in the history
  • Loading branch information
c410-f3r committed Oct 22, 2024
1 parent c885493 commit 1ad8a42
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions wtx-instances/src/bin/h2spec-low-server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ async fn main() -> wtx::Result<()> {
Http2RecvStatus::Ok(_) => continue,
}
}
std::dbg!("----------------------------");
let (_, local_headers) = http2_stream.recv_trailers(headers).await?;
headers = local_headers;
headers.clear();
Expand Down
2 changes: 0 additions & 2 deletions wtx/src/http2/headers_frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ impl<'uri> HeadersFrame<'uri> {
expanded_headers_len = expanded_headers_len.wrapping_add(len);
is_over_size = expanded_headers_len >= max_headers_len;
if !is_over_size {
std::dbg!(core::str::from_utf8(header_name.bytes()));
if let Ok(KnownHeaderName::ContentLength) = KnownHeaderName::try_from(header_name) {
std::dbg!(usize::from_radix_10(value));
content_length = Some(usize::from_radix_10(value)?);
}
rrb_headers.push_from_iter(Header {
Expand Down
1 change: 0 additions & 1 deletion wtx/src/http2/process_receipt_frame_ty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ where
)
.await?;
let (content_length, has_eos, (method, protocol)) = tuple;
std::dbg!(content_length);
ish.method = method;
ish.protocol = protocol;
ish.stream_id = self.fi.stream_id;
Expand Down

0 comments on commit 1ad8a42

Please sign in to comment.