Skip to content
Closed
Prev Previous commit
Next Next commit
http2: add "receive paused" debug native line
  • Loading branch information
clshortfuse committed Jun 18, 2020
commit 7bae5a5535a8ef1bbf9ae5639b4f21566c65f622
1 change: 1 addition & 0 deletions src/node_http2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@ int Http2Session::OnDataChunkReceived(nghttp2_session* handle,
if (session->is_write_in_progress()) {
CHECK(session->is_reading_stopped());
session->set_receive_paused();
Debug(session, "receive paused");
return NGHTTP2_ERR_PAUSE;
}

Expand Down