1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

http2: remove debug logging from on_frame_recv

This commit is contained in:
Daniel Stenberg 2015-05-04 14:03:29 +02:00
parent 70b5b698b0
commit ee3ad233a2

View 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: