diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2009-08-04 20:29:12 +0000 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2009-08-04 20:29:12 +0000 |
commit | d38226420bceee70cc07de4ae64b08c7262aff7c (patch) | |
tree | bbb6487e2da06e5566366628a0f201ee9730aae5 /src | |
parent | 8e2215ee6306b0f4c13553796d401e9f5f93bcb6 (diff) |
apply patch for chunking error from ibrowse 1.5.2
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800950 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/ibrowse/ibrowse_http_client.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ibrowse/ibrowse_http_client.erl b/src/ibrowse/ibrowse_http_client.erl index 6a26dd4a..013f31b6 100644 --- a/src/ibrowse/ibrowse_http_client.erl +++ b/src/ibrowse/ibrowse_http_client.erl @@ -919,7 +919,7 @@ parse_11_response(DataRecvd, #state{transfer_encoding = chunked, chunk_size = 0, cur_req = CurReq, deleted_crlf = DelCrlf, - reply_buffer = Trailer, reqs = Reqs}=State) -> + chunk_size_buffer = Trailer, reqs = Reqs}=State) -> do_trace("Detected end of chunked transfer...~n", []), DataRecvd_1 = case DelCrlf of false -> @@ -933,7 +933,7 @@ parse_11_response(DataRecvd, State_1 = handle_response(CurReq, State#state{reqs = Reqs_1}), parse_response(Rem, reset_state(State_1)); {no, Rem} -> - State#state{reply_buffer = Rem, rep_buf_size = size(Rem), deleted_crlf = false} + State#state{chunk_size_buffer = Rem, deleted_crlf = false} end; %% This clause extracts a chunk, given the size. |