Skip to content

Commit

Permalink
tell mochiweb we recv body
Browse files Browse the repository at this point in the history
  • Loading branch information
justin committed Mar 2, 2010
1 parent 4331535 commit c5dd846
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/webmachine_request.erl
Expand Up @@ -379,6 +379,7 @@ read_whole_stream({Hunk,Next}, Acc0, MaxRecvBody, SizeAcc) ->
end.

recv_stream_body(PassedState=#wm_reqstate{reqdata=RD}, MaxHunkSize) ->
put(mochiweb_request_recv, true),
case get_header_value("expect") of
{"100-continue", _} ->
send(PassedState#wm_reqstate.socket,
Expand Down

0 comments on commit c5dd846

Please sign in to comment.