aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-05-04 14:03:29 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-05-18 08:57:18 +0200
commitee3ad233a2698669af66e7af8c47fb4b2c92f6be (patch)
treecb618066c4f1ee5d6d529f82cdadee3eabe2004e
parent70b5b698b0019619efcd51e142b5144792f8863f (diff)
http2: remove debug logging from on_frame_recv
-rw-r--r--lib/http2.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/http2.c b/lib/http2.c
index 49e9c7e68..1987c120e 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -278,14 +278,6 @@ static int on_frame_recv(nghttp2_session *session, const nghttp2_frame *frame,
stream->len -= ncopy;
stream->memlen += ncopy;
- {
- char backup = stream->mem[stream->memlen];
- stream->mem[stream->memlen] = 0; /* DEBUG, remove this */
-
- DEBUGF(infof(data_s, "BUF: %s", stream->mem));
- stream->mem[stream->memlen] = backup;
- }
-
data_s->state.drain++;
break;
case NGHTTP2_PUSH_PROMISE: