Spelling fixes in comments (#508)
This commit is contained in:
@@ -708,7 +708,7 @@ async fn recv_too_big_headers() {
|
||||
.await;
|
||||
srv.send_frame(frames::headers(1).response(200).eos()).await;
|
||||
srv.send_frame(frames::headers(3).response(200)).await;
|
||||
// no reset for 1, since it's closed anyways
|
||||
// no reset for 1, since it's closed anyway
|
||||
// but reset for 3, since server hasn't closed stream
|
||||
srv.recv_frame(frames::reset(3).refused()).await;
|
||||
idle_ms(10).await;
|
||||
|
||||
@@ -460,7 +460,7 @@ async fn send_rst_stream_allows_recv_data() {
|
||||
srv.send_frame(frames::headers(1).response(200)).await;
|
||||
srv.recv_frame(frames::reset(1).cancel()).await;
|
||||
// sending frames after canceled!
|
||||
// note: sending 2 to cosume 50% of connection window
|
||||
// note: sending 2 to consume 50% of connection window
|
||||
srv.send_frame(frames::data(1, vec![0; 16_384])).await;
|
||||
srv.send_frame(frames::data(1, vec![0; 16_384]).eos()).await;
|
||||
// make sure we automatically free the connection window
|
||||
@@ -736,7 +736,7 @@ async fn rst_while_closing() {
|
||||
h2_support::trace_init!();
|
||||
let (io, mut srv) = mock::new();
|
||||
|
||||
// Rendevous when we've queued a trailers frame
|
||||
// Rendezvous when we've queued a trailers frame
|
||||
let (tx, rx) = oneshot::channel();
|
||||
|
||||
let srv = async move {
|
||||
|
||||
Reference in New Issue
Block a user