Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/impl/http_parser/lolevel/HTTPParser.java
Original file line numberDiff line numberDiff line change
Expand Up@@ -374,7 +374,6 @@ public int execute(ParserSettings settings, ByteBuffer data) {

if (H == ch) {
state = State.res_or_resp_H;
settings.call_on_message_begin(this);
} else {
type = ParserType.HTTP_REQUEST;
method = start_req_method_assign(ch);
Expand All@@ -384,6 +383,7 @@ public int execute(ParserSettings settings, ByteBuffer data) {
index = 1;
state = State.req_method;
}
settings.call_on_message_begin(this);
break;


Expand DownExpand Up@@ -1210,7 +1210,6 @@ public int execute(ParserSettings settings, ByteBuffer data) {
if (0 != (flags & F_TRAILING)) {
/* End of a chunked request */
state = new_message();
settings.call_on_headers_complete(this);
settings.call_on_message_complete(this);
break;
}
Expand Down