]> granicus.if.org Git - ejabberd/commitdiff
* src/web/ejabberd_http.erl: Temporary solution for check of
authorBadlop <badlop@process-one.net>
Fri, 1 Aug 2008 08:50:19 +0000 (08:50 +0000)
committerBadlop <badlop@process-one.net>
Fri, 1 Aug 2008 08:50:19 +0000 (08:50 +0000)
packet size when HTTPS (EJAB-611)(EJAB-507)(EJAB-574)

SVN Revision: 1502

ChangeLog
src/web/ejabberd_http.erl

index d72fe558b1fad1f797f071ebc3253a62096e10f4..426a8bd3fb69d930b39f0e34183edc23316d2fbb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * doc/guide.tex: Update Process-one name to ProcessOne (EJAB-708)
index d7777060755c2217c452fe1f5f16156bfce2d84b..514cf730e57480e0fc24116d9be109a579cbafff 100644 (file)
@@ -390,7 +390,10 @@ recv_data(_State, 0, Acc) ->
 recv_data(State, Len, Acc) ->
     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} ->
                    recv_data(State, Len - size(Data), [Acc | Data]);
                _ ->