15a27131160b4b65fb3f4ae3126d9ed447722453
When no TCP connection exists, send_message_to_server() called tcp_connect() with a NULL output parameter and returned without sending the message. The message was silently dropped, and the only recovery was the 5-second PRIMARY_DEATH_TIMEOUT_SEC retry — causing the client to hang on every cold-connection operation. tcp_connect() already supports returning the output ByteQueue so callers can queue data to be flushed once the connection completes. Use that mechanism: get the output queue from tcp_connect() and write the message into it immediately, so it is sent as soon as the TCP handshake finishes. https://claude.ai/code/session_01EG3WZSH3ZeTdAbb5T42r2w
ToastyFS
Turn your potato hardware into an extremely fault-tolerant object storage!
Languages
C
98.4%
Shell
1%
Zig
0.4%
Batchfile
0.2%