Skip to content
This repository was archived by the owner on Jul 6, 2018. It is now read-only.

Commit ba4d445

Browse files
committed
Make debug less noisy
1 parent 7faa12f commit ba4d445

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/node_http2.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,6 @@ void Http2Session::Send(uv_buf_t* buf, size_t length) {
719719
if (stream_ == nullptr || !stream_->IsAlive() || stream_->IsClosing()) {
720720
return;
721721
}
722-
DEBUG_HTTP2("Http2Session: sending data to the socket: size: %d\n", length);
723722
HandleScope scope(env()->isolate());
724723
SessionSendBuffer* req = ContainerOf(&SessionSendBuffer::buffer_, buf);
725724
uv_buf_t actual = uv_buf_init(buf->base, length);

src/node_http2_core-inl.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ inline void Nghttp2Session::HandlePriorityFrame(const nghttp2_frame* frame) {
117117

118118
// Prompts nghttp2 to flush the queue of pending data frames
119119
inline void Nghttp2Session::SendPendingData() {
120-
DEBUG_HTTP2("Nghttp2Session %d: emitting all pending data\n", session_type_);
121120
const uint8_t* data;
122121
size_t amount = 0;
123122
size_t offset = 0;
@@ -230,8 +229,6 @@ inline int Nghttp2Session::Free() {
230229

231230
// Write data received from the socket to the underlying nghttp2_session.
232231
inline ssize_t Nghttp2Session::Write(const uv_buf_t* bufs, unsigned int nbufs) {
233-
DEBUG_HTTP2("Nghttp2Session %d: receiving data from socket: %d\n",
234-
session_type_, nbufs);
235232
size_t total = 0;
236233
for (unsigned int n = 0; n < nbufs; n++) {
237234
ssize_t ret =

0 commit comments

Comments
 (0)