Created
December 29, 2011 01:12
-
-
Save ry/1530919 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/node_http_parser.cc b/src/node_http_parser.cc | |
index 38251a1..3493552 100644 | |
--- a/src/node_http_parser.cc | |
+++ b/src/node_http_parser.cc | |
@@ -447,6 +447,8 @@ public: | |
size_t nparsed = | |
http_parser_execute(&parser->parser_, &settings, buffer_data + off, len); | |
+ parser->Flush(); | |
+ | |
// Unassign the 'buffer_' variable | |
assert(current_buffer); | |
current_buffer = NULL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment