25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-02 16:37:52 +01:00

* src/web/ejabberd_http.erl: Temporary solution for check of

packet size when HTTPS (EJAB-611)(EJAB-507)(EJAB-574)

SVN Revision: 1502
This commit is contained in:
Badlop 2008-08-01 08:50:19 +00:00
parent f5e489c764
commit 9dd66c241c
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-08-01 Badlop <badlop@process-one.net>
* src/web/ejabberd_http.erl: Temporary solution for check of
packet size when HTTPS (EJAB-611)(EJAB-507)(EJAB-574)
2008-07-31 Badlop <badlop@process-one.net> 2008-07-31 Badlop <badlop@process-one.net>
* doc/guide.tex: Update Process-one name to ProcessOne (EJAB-708) * doc/guide.tex: Update Process-one name to ProcessOne (EJAB-708)

View File

@ -390,7 +390,10 @@ 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
[] -> [] ->
case (State#state.sockmod):recv(State#state.socket, Len, 300000) 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
{ok, Data} -> {ok, Data} ->
recv_data(State, Len - size(Data), [Acc | Data]); recv_data(State, Len - size(Data), [Acc | Data]);
_ -> _ ->