Peer dial used per-step read timeouts so a stuck handshake could block the single-threaded daemon for tens of seconds; inbound hellos piled up unread (CLOSE-WAIT). Use a wall-clock dial budget, drain accepts before each dial, skip self, and only one side initiates idle polls. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
459 B
C
15 lines
459 B
C
#ifndef CST_VERSION_H
|
|
#define CST_VERSION_H
|
|
|
|
#define CST_VERSION_MAJOR 0
|
|
#define CST_VERSION_MINOR 9
|
|
#define CST_VERSION_PATCH 22
|
|
|
|
#define CST_VERSION_STR_(x) #x
|
|
#define CST_VERSION_STR(x) CST_VERSION_STR_(x)
|
|
#define CST_VERSION \
|
|
CST_VERSION_STR(CST_VERSION_MAJOR) \
|
|
"." CST_VERSION_STR(CST_VERSION_MINOR) "." CST_VERSION_STR(CST_VERSION_PATCH)
|
|
|
|
#endif
|