couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject svn commit: r800950 - /couchdb/trunk/src/ibrowse/ibrowse_http_client.erl
Date Tue, 04 Aug 2009 20:29:12 GMT
Author: kocolosk
Date: Tue Aug  4 20:29:12 2009
New Revision: 800950

URL: http://svn.apache.org/viewvc?rev=800950&view=rev
Log:
apply patch for chunking error from ibrowse 1.5.2

Modified:
    couchdb/trunk/src/ibrowse/ibrowse_http_client.erl

Modified: couchdb/trunk/src/ibrowse/ibrowse_http_client.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/ibrowse/ibrowse_http_client.erl?rev=800950&r1=800949&r2=800950&view=diff
==============================================================================
--- couchdb/trunk/src/ibrowse/ibrowse_http_client.erl (original)
+++ couchdb/trunk/src/ibrowse/ibrowse_http_client.erl Tue Aug  4 20:29:12 2009
@@ -919,7 +919,7 @@
 		  #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 @@
 	    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.



Mime
View raw message