diff options
| author | xengineering <me@xengineering.eu> | 2026-03-21 17:02:00 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-03-22 10:23:46 +0100 |
| commit | a6ad16fc2b12386d7141e51c9506c3af74229281 (patch) | |
| tree | fded42cca0731c1cb6fdca4a058416d0d2679c23 /main.go | |
| parent | 139572f5221abd3f6ce1f0627982974ab3fa5531 (diff) | |
| download | sia-server-a6ad16fc2b12386d7141e51c9506c3af74229281.tar sia-server-a6ad16fc2b12386d7141e51c9506c3af74229281.tar.zst sia-server-a6ad16fc2b12386d7141e51c9506c3af74229281.zip | |
tools: websocket: Add wait for CTRL-C
Now the connection is immediately established but just closed on SIGTERM
and SIGINT.
This allows to keep the connection for some time and lets the user
decide when to stop.
Diffstat (limited to 'main.go')
0 files changed, 0 insertions, 0 deletions
