From ee3ad233a2698669af66e7af8c47fb4b2c92f6be Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 4 May 2015 14:03:29 +0200 Subject: http2: remove debug logging from on_frame_recv --- lib/http2.c | 8 -------- 1 file changed, 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: -- cgit v1.2.3