Permalink
Browse files

tell mochiweb we recv body

  • Loading branch information...
justin
justin committed Mar 2, 2010
1 parent 4331535 commit c5dd84604f37af82ec6feb9d8ad20919564aa898
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/webmachine_request.erl
@@ -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,

0 comments on commit c5dd846

Please sign in to comment.