[Libreoffice-commits] online.git: net/Socket.hpp

Michael Meeks michael.meeks at collabora.com
Fri Mar 10 12:12:37 UTC 2017


 net/Socket.hpp |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 34d9d52207166fb6ef05bc8b205844164d40c5f5
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Fri Mar 10 12:11:46 2017 +0000

    Avoid assert failure and zero size socket buffer in product build.

diff --git a/net/Socket.hpp b/net/Socket.hpp
index 98a2978..c09ad53 100644
--- a/net/Socket.hpp
+++ b/net/Socket.hpp
@@ -207,6 +207,7 @@ protected:
     void init()
     {
         setNoDelay();
+        _sendBufferSize = DefaultSendBufferSize;
 #if ENABLE_DEBUG
         _owner = std::this_thread::get_id();
 


More information about the Libreoffice-commits mailing list