Skip to content

Commit 2fbc8cf

Browse files
author
Tiago Cardoso
committed
removing the headers complete callback from when finishing parsing a chunk (this is triggering on headers callback two times)
1 parent 1d6cef0 commit 2fbc8cf

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/impl/http_parser/lolevel/HTTPParser.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,6 @@ public int execute(ParserSettings settings, ByteBuffer data) {
12101210
if (0 != (flags & F_TRAILING)) {
12111211
/* End of a chunked request */
12121212
state = new_message();
1213-
settings.call_on_headers_complete(this);
12141213
settings.call_on_message_complete(this);
12151214
break;
12161215
}

0 commit comments

Comments
 (0)