Skip to content

Commit

Permalink
bugfix: fix when closed is received for non 'parse' requests
Browse files Browse the repository at this point in the history
SVN Revision: 423
  • Loading branch information
nniclausse committed Oct 15, 2004
1 parent 4ae70e3 commit 097b48e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tsunami/ts_client.erl
Expand Up @@ -562,6 +562,9 @@ handle_data_msg(Data, State=#state_rcv{request=Req, clienttype=Type}) when Req#t
{NewState#state_rcv{buffer=NewBuffer}, Opts}
end;

handle_data_msg(closed,State=#state_rcv{request=Req,datasize=OldSize}) ->
{State,[]};

%% ack = global
handle_data_msg(Data,State=#state_rcv{request=Req,datasize=OldSize})
when Req#ts_request.ack==global ->
Expand Down

0 comments on commit 097b48e

Please sign in to comment.