libreoffice-online/net
Ashod Nakashian 40b1aa1077 wsd: add member to Socket to flush safely
In many cases we write directly to the socket
outgoing buffer directly. The only way to flush
this buffer to the socket is to use send(),
which is artificial if we don't have any more
data to pass to send().

This makes it possible to safely call flush()
and, if there is buffered data, we flush it
to the socket.

Change-Id: I025e7ba5d1898e72dd0001547e104642608ab20a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-03-22 10:09:22 -04:00
..
Buffer.hpp wsd: http: improve StatusLine 2021-03-22 10:09:22 -04:00
clientnb.cpp wsd: cleanup Poco headers 2021-03-22 10:09:22 -04:00
DelaySocket.cpp wsd: avoid static SocketPoll 2021-03-13 16:44:09 -05:00
DelaySocket.hpp wsd: avoid static SocketPoll 2021-03-13 16:44:09 -05:00
FakeSocket.cpp
FakeSocket.hpp Replace all __linux in CPP conditions with __linux__. 2020-11-17 09:21:45 +00:00
HttpHelper.cpp wsd: cleanup Poco headers 2021-03-22 10:09:22 -04:00
HttpHelper.hpp wsd: move HttpHelper namespace from Socket to its home 2020-11-02 07:56:03 -05:00
HttpRequest.cpp wsd: http: parse the http header only 2021-03-22 10:09:22 -04:00
HttpRequest.hpp wsd: http: better serialization into the socket buffer directly 2021-03-22 10:09:22 -04:00
NetUtil.cpp wsd: fail when trying to connect to an invalid host 2021-02-22 14:24:36 -05:00
NetUtil.hpp wsd: new NetUtil file for network utilities 2021-01-13 22:05:18 -05:00
ServerSocket.hpp wsd: encapsulate ServerSocket::_socketFactory 2021-03-16 08:27:46 -04:00
Socket.cpp wsd: encapsulate ServerSocket::_socketFactory 2021-03-16 08:27:46 -04:00
Socket.hpp wsd: add member to Socket to flush safely 2021-03-22 10:09:22 -04:00
Ssl.cpp Implement SslContext::id() for FreeBSD systems by calling pthread_getthreadid_np(). 2020-11-16 14:02:23 +00:00
Ssl.hpp wsd: test: support SSL in classic tests 2021-01-13 08:07:06 -05:00
SslSocket.hpp wsd: better errno handling in sockets 2021-03-01 21:50:18 -05:00
WebSocketHandler.hpp wsd: always set the Fin bit for WS frames 2021-03-08 22:49:53 -05:00