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:
parent
5e05ad03bb
commit
020a3e6d6b
@ -453,10 +453,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