25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Revert workaround of EJAB-611 because it seems no longer required (EJAB-709)

SVN Revision: 2370
This commit is contained in:
Badlop 2009-07-17 21:46:26 +00:00
parent 9df5639974
commit 480c98e991

View File

@ -451,10 +451,7 @@ recv_data(_State, 0, Acc) ->
recv_data(State, Len, Acc) -> recv_data(State, Len, Acc) ->
case State#state.trail of case State#state.trail of
[] -> [] ->
%% TODO: Fix the problem in tls C driver and revert this workaround case (State#state.sockmod):recv(State#state.socket, Len, 300000) of
%% https://support.process-one.net/browse/EJAB-611
%%case (State#state.sockmod):recv(State#state.socket, Len, 300000) of
case (State#state.sockmod):recv(State#state.socket, 0, 300000) of
{ok, Data} -> {ok, Data} ->
recv_data(State, Len - size(Data), [Acc | Data]); recv_data(State, Len - size(Data), [Acc | Data]);
_ -> _ ->