Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit d38226420bceee70cc07de4ae64b08c7262aff7c 1 parent 8e2215e
@kocolosk kocolosk authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ibrowse/ibrowse_http_client.erl
View
4 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.
Please sign in to comment.
Something went wrong with that request. Please try again.