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
1 changed files with 0 additions and 8 deletions

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: