diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-05-04 14:03:29 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-04 14:03:29 +0200 |
commit | 39517d0f048c75f095448f0d09e14cda1fd33900 (patch) | |
tree | b60e4b40169a282ed6444b30708b9c1a6964d858 | |
parent | 607fd8d60619a592ea7471b400ef96e861efe0e7 (diff) | |
download | curl-39517d0f048c75f095448f0d09e14cda1fd33900.tar.gz |
http2: remove debug logging from on_frame_recv
-rw-r--r-- | lib/http2.c | 8 |
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: |