Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
thejh committed Jun 6, 2012
1 parent e5b7d1f commit 99a43db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ int on_server_body(http_parser *p, const char *data, size_t size) {
break;
}
}
if (a->data_filter_buffer != NULL) return 0;
if (a->data_filter_buffer != NULL || dsize == 0) return 0;
}

assert(dsize != 0);
Expand Down

0 comments on commit 99a43db

Please sign in to comment.