collabora-online/net
Michael Meeks 2e784c0a03 Socket: add API to close all sockets.
This may not look hyper-elegant, but using ~Socket to do this
calls 'shutdown' first on the sockets, which closes the parent's
duplicate of the socket very unhelpfully. So close instead.

Don't touch and thus COW memory. We will leave the Socket Poll
around un-used, and un-polling from eg. the ForKit in the Kit
process.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I1328dee0278ce39350194c617acffa114887d523
2024-03-15 11:41:23 +00:00
..
Buffer.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
DelaySocket.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
DelaySocket.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
FakeSocket.cpp cool#8328 - config header fixup. 2024-02-21 09:35:25 +00:00
FakeSocket.hpp sockets should use CLOEXEC ticket cool#8016 2024-01-29 21:01:39 +00:00
HttpHelper.cpp cool#8328 - config header fixup. 2024-02-21 09:35:25 +00:00
HttpHelper.hpp wsd: detect unencoded WOPISrc 2024-02-09 03:57:04 -05:00
HttpRequest.cpp Replace Util::startsWith/endsWith w/ C++20 equivalent 2024-02-22 08:08:32 +01:00
HttpRequest.hpp wsd: expose http::Session's socket FD 2024-03-05 07:10:34 -05:00
NetUtil.cpp sockets should use CLOEXEC ticket cool#8016 2024-01-29 21:01:39 +00:00
NetUtil.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
ServerSocket.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
Socket.cpp Socket: add API to close all sockets. 2024-03-15 11:41:23 +00:00
Socket.hpp Socket: add API to close all sockets. 2024-03-15 11:41:23 +00:00
Ssl.cpp wsd: clean up unused header includes 2024-01-08 08:38:48 +01:00
Ssl.hpp wsd: clean up unused header includes 2024-01-08 08:38:48 +01:00
SslSocket.hpp net: add socketpair wrapper. 2024-03-12 08:49:39 +00:00
WebSocketHandler.hpp Calm down warnings. 2024-03-12 08:33:17 +00:00
WebSocketSession.hpp Replace Util::startsWith/endsWith w/ C++20 equivalent 2024-02-22 08:08:32 +01:00
clientnb.cpp clientnb: missing include 2024-03-15 11:49:09 +10:30