We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb0c646 commit 0d82405Copy full SHA for 0d82405
src/proto/h1/io.rs
@@ -512,6 +512,11 @@ where
512
let head = self.headers_mut();
513
514
head.maybe_unshift(buf.remaining());
515
+ trace!(
516
+ self.len = head.remaining(),
517
+ buf.len = buf.remaining(),
518
+ "buffer.flatten"
519
+ );
520
//perf: This is a little faster than <Vec as BufMut>>::put,
521
//but accomplishes the same result.
522
loop {
@@ -527,6 +532,11 @@ where
527
532
}
528
533
529
534
WriteStrategy::Queue => {
535
536
+ self.len = self.remaining(),
537
538
+ "buffer.queue"
539
530
540
self.queue.push(buf.into());
531
541
542
0 commit comments