mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +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:
parent
91339fa8f0
commit
3a5fb23427
@ -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>
|
||||||
|
|
||||||
* src/msgs/uk.msg: Fix: each string in a single line
|
* src/msgs/uk.msg: Fix: each string in a single line
|
||||||
|
@ -391,7 +391,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]);
|
||||||
_ ->
|
_ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user