collabora-online/net
Caolán McNamara 6fe1a82ff4 After fork we don't have a watchdog thread
So watchdog won't fire for a stalling kit.

After a fork the child has only one thread, but a copy of the watchdog
object.

Stop the watchdog thread before fork, let the child discard its copy of
the watchdog that is now in a discardable state.

And allow it to create a new one on the next SocketPoll ctor.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I7dc166dca3996401fbdc20cd7643f944662454c8
(cherry picked from commit bb7cd9f357)
2024-04-05 13:42:54 +01: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 spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
FakeSocket.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
HttpHelper.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
HttpHelper.hpp wsd: detect unencoded WOPISrc 2024-02-25 20:57:16 +01:00
HttpRequest.cpp wsd: clean up unused header includes 2024-01-08 08:38:48 +01:00
HttpRequest.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
NetUtil.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +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 After fork we don't have a watchdog thread 2024-04-05 13:42:54 +01:00
Socket.hpp After fork we don't have a watchdog thread 2024-04-05 13:42:54 +01: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 wsd: clean up unused header includes 2024-01-08 08:38:48 +01:00
WebSocketHandler.hpp Calm down warnings. 2024-03-13 14:48:15 +00:00
WebSocketSession.hpp wsd: clean up unused header includes 2024-01-08 08:38:48 +01:00
clientnb.cpp wsd: clean up unused header includes 2024-01-08 08:38:48 +01:00