Kafkatorio/modules
Lazzexus 2944d52843 Fix syslog server crashing whenever a client disconnects
When a client closed its connection, handleConnection threw on the
null line, closed the socket, and then logged socket.description() -
which reads the address of the now-closed socket and throws
ClosedChannelException. That escaped the handler and crashed the
whole server, dropping every other client's connection. With the
Docker syslog log driver in non-blocking mode, the Factorio server's
logs were then silently discarded, so most packets never arrived.

Treat a null line as a normal client disconnect, capture the socket
description while it's still open, and always close the socket in
'finally', so one connection can't take down the server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 18:46:13 +02:00
..
events-library Fix kxs-ts-gen-core dependency resolution and unblocked compile bugs 2026-10-12 15:40:33 +02:00
events-mod Fix '/kafkatorio chunks' not sending most chunks 2026-10-12 18:16:20 +02:00
events-processor-core fix bootstrap server, remove http:// 2022-10-23 21:54:38 +02:00
events-processors big ol' refactor of the Gradle Factorio Mod 2022-12-18 01:41:14 +01:00
events-server [docker-files] remove user config 2022-10-22 23:36:00 +02:00
events-server-syslog Fix syslog server crashing whenever a client disconnects 2026-10-12 18:46:13 +02:00
events-server-web Fix web map blanking and websocket dropping behind a reverse proxy 2026-10-12 18:09:03 +02:00
infra-factorio-client tidy up after refactoring Gradle Factorio plugin 2022-12-19 16:53:18 +01:00
infra-factorio-server Port events-mod to Factorio 2.0.77, declare SE/Krastorio 2 compatibility 2026-10-12 15:06:30 +02:00
infra-kafka-cluster Fix Docker image builds and local platform setup 2026-10-12 17:27:11 +02:00
infra-kafka-pipe update dockerfiles 2022-10-22 19:55:02 +02:00
kt-rcon migrate buildSrc plugins to includedBuild plugins 2022-09-18 20:49:32 +02:00
versions-platform adjust geedeecee config, so images can be built 2022-10-05 00:06:46 +02:00
web-map Fix web map blanking and websocket dropping behind a reverse proxy 2026-10-12 18:09:03 +02:00
modules.md big ol' refactor to split up the events-server and events-processors 2022-09-13 17:56:57 +02:00