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:
parent
9df5639974
commit
480c98e991
@ -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]);
|
||||||
_ ->
|
_ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user