Permalink
Browse files

bugfix

  • Loading branch information...
1 parent e5b7d1f commit 99a43db4913fdddd796f0ca668f5485c5459b709 @thejh committed Jun 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main.c
View
2 src/main.c
@@ -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);

0 comments on commit 99a43db

Please sign in to comment.