]> granicus.if.org Git - curl/commitdiff
http2: remove debug logging from on_frame_recv
authorDaniel Stenberg <daniel@haxx.se>
Mon, 4 May 2015 12:03:29 +0000 (14:03 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 18 May 2015 06:57:18 +0000 (08:57 +0200)
lib/http2.c

index 49e9c7e6890bbeb6bfc10bbfc7ac319e362da382..1987c120ed2100ddc0dd7eac47ce4e17d5848feb 100644 (file)
@@ -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: