summaryrefslogtreecommitdiff
path: root/proto/bmp/buffer.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2023-04-20 16:13:58 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2023-04-20 16:28:07 +0200
commit2c7d2141ac86b0d482d3221447d1ad920c557108 (patch)
tree5f349d8bed4a0eab1dc13d7ebcaa98bf7e8cc86d /proto/bmp/buffer.c
parent010df43519b12e83b0ff2cba9e344cba698586bb (diff)
BMP: Fix connection management
Replace broken TCP connection management with a simple state machine. Handle failed attempts properly with a timeout, detect and handle TCP connection close and try to reconnect after that. Remove useless 'station_connected' flag. Keep open messages saved even after the BMP session establishment, so they can be used after BMP session flaps. Use proper log messages for session events.
Diffstat (limited to 'proto/bmp/buffer.c')
0 files changed, 0 insertions, 0 deletions