Evgeny
4b943e7963
tcp_io: FIN/close через write_queue, отладка всех этапов закрытия
- tcp_io.h/c: push_fin/push_close через очередь отправки
Кодирование: dgram=NULL→close, len=0+dgram!=NULL→FIN (sentinel)
FIN: shutdown(SHUT_WR), стоп чтения, on_fin_sent
CLOSE: close сокета, on_closed
read_cb: отбрасывание входящих после fin_sent
guard wq_fetch: error||closed (не fin)
- tcp_proxy_server: адаптация handle_fin→push_fin, handle_close→push_close
read_queue_drain_cb: discard при fin_sent
DEBUG_INFO на всех точках закрытия
- tcp_proxy_client: send_fin, handle_fin — DEBUG_INFO
- test_tcp_io: +6 тестов (push_fin, push_close, ordering, double-push, fin+close)
2026-06-04 19:20:20 +03:00
..
2026-06-02 21:53:51 +03:00
2026-06-02 21:53:51 +03:00
2026-04-24 14:07:41 +03:00
2026-04-24 14:39:12 +03:00
2026-06-03 18:51:12 +03:00
2026-06-03 18:51:12 +03:00
2026-06-03 16:24:46 +03:00
2026-06-03 02:06:09 +03:00
2026-04-21 17:41:45 +03:00
2026-04-21 17:41:45 +03:00
2026-04-21 17:41:45 +03:00
2026-04-25 12:38:05 +03:00
2026-05-10 00:05:23 +03:00
2026-05-10 00:05:23 +03:00
2026-05-10 00:05:23 +03:00
2026-05-10 00:05:23 +03:00
2026-04-14 02:03:59 +03:00
2026-04-14 02:03:59 +03:00
2026-02-13 18:12:26 +03:00
2026-02-13 18:12:26 +03:00
2026-05-10 14:00:49 +03:00
2026-05-10 14:00:49 +03:00
2026-04-07 14:03:40 +03:00
2026-04-07 10:42:13 +03:00
2026-06-04 19:20:20 +03:00
2026-06-04 19:20:20 +03:00
2026-05-29 01:11:37 +03:00
2026-05-29 01:11:37 +03:00
2026-06-04 01:57:10 +03:00
2026-06-03 16:24:46 +03:00
2026-02-15 01:40:17 +03:00
2026-02-15 01:40:17 +03:00