25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

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

SVN Revision: 2371
This commit is contained in:
Badlop 2009-07-17 21:47:26 +00:00
parent 5e05ad03bb
commit 020a3e6d6b

View File

@ -453,10 +453,7 @@ recv_data(_State, 0, Acc) ->
recv_data(State, Len, Acc) ->
case State#state.trail of
[] ->
%% TODO: Fix the problem in tls C driver and revert this workaround
%% 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
case (State#state.sockmod):recv(State#state.socket, Len, 300000) of
{ok, Data} ->
recv_data(State, Len - size(Data), [Acc | Data]);
_ ->