Skip to content

Commit

Permalink
Fix #47. s_body_indentity_eof is a valid message complete indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed May 2, 2017
1 parent 30b77f9 commit e915ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,7 @@ function parse!{T <: Union{Request, Response}}(r::T, parser, bytes, len=length(b
@debug(PARSING_DEBUG, @__LINE__, ParsingStateCode(p_state))
b = p_state == start_state || p_state == s_dead
he = b | (p_state >= s_headers_done)
m = b | (p_state >= s_message_done)
m = b | (p_state >= s_body_identity_eof)
return errno, he, m, String(bytes[p:end])

@label error
Expand Down

0 comments on commit e915ff2

Please sign in to comment.