Skip to content

Commit

Permalink
http2: remove debug logging from on_frame_recv
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed May 18, 2015
1 parent 70b5b69 commit ee3ad23
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/http2.c
Expand Up @@ -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:
Expand Down

0 comments on commit ee3ad23

Please sign in to comment.