aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: