You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Evgeny
ce37db137b
uasync: замена timeout_heap на timing wheel (twheel)
Устранены баги потери событий:
- timeout_ms = -1 при истёкшем таймере (poll висел бесконечно)
- stale now_ms в process_timeouts (таймеры пропускались на одну итерацию)
Замена:
- timeout_heap.c/h удалены
- Добавлен twheel — tickless hierarchical timing wheel (WHEEL_BIT=6, WHEEL_NUM=4)
на основе реализации William Ahern (MIT), адаптирован под u_malloc/u_free/DEBUG_*
- struct timeout_node: struct twheel to первым полем, убран heap_index/expiration_ms
- uasync_set_timeout: twheel_init + twheels_add(TIMEOUT_ABS)
- uasync_cancel_timeout: twheels_del + немедленный free (O(1))
- process_timeouts: twheels_update + цикл twheels_get
- get_next_timeout: twheels_timeout() — всегда актуален
- uasync_poll: исправлена логика расчёта timeout_ms
|
4 months ago |
|
.opencode
|
add framed read for raw fd (2-byte len prefix), TCP_NODELAY, fix test half-close ordering
|
5 months ago |
|
doc
|
etcp_router: fix inflight underflow by splitting rx_acked into tx_acked + last_sent_ack_seq
|
4 months ago |
|
lib
|
uasync: замена timeout_heap на timing wheel (twheel)
|
4 months ago |
|
net_emulator
|
Add name parameter to uasync_set_timeout for timer identification in dumps
|
5 months ago |
|
src
|
uasync: замена timeout_heap на timing wheel (twheel)
|
4 months ago |
|
tests
|
uasync: замена timeout_heap на timing wheel (twheel)
|
4 months ago |
|
tinycrypt
|
Build: incremental build support, Windows uasync fixes, TUN cross-platform refactoring
|
7 months ago |
|
tools
|
etcp: dedup ack_q — не добавлять дубликаты ACK для одного seq
|
4 months ago |
|
.gitignore
|
fix tcp_proxy deadlock: send CLOSE on TUN FIN + full proxy diagnostics
|
4 months ago |
|
AGENTS.md
|
fix: proxy ERROR loop, BBR test backpressure, O(1) u_free, test ordering
|
4 months ago |
|
AUDIT_FINDINGS.txt
|
add audit findings document (51 issues across 12 modules)
|
5 months ago |
|
INSTALL.autotools
|
…
|
|
|
Makefile
|
build: out-of-tree VPATH build, tests run once with colored timing
|
5 months ago |
|
Makefile.am
|
build: out-of-tree VPATH build, tests run once with colored timing
|
5 months ago |
|
build.bat
|
1
|
7 months ago |
|
build.sh
|
add inflight data return to normalizer on reinit + configurable inflight min/max limits + test
|
5 months ago |
|
build_bsd_full.sh
|
1
|
5 months ago |
|
build_direct.sh
|
Build: incremental build support, Windows uasync fixes, TUN cross-platform refactoring
|
7 months ago |
|
build_full.bat
|
1
|
7 months ago |
|
build_linux_full.sh
|
1
|
7 months ago |
|
check.bat
|
Add check.bat - Windows test runner script
|
8 months ago |
|
configure.ac
|
1
|
7 months ago |
|
filelist.txt
|
+memory check module
|
7 months ago |
|
nat.txt
|
Добавлено поле interface_addr в ETCP_SOCKET и interface_ip/port в BGP_NAT_CHECK_REQ
|
5 months ago |
|
utun.conf.sample
|
proxy: rename + simplify + backpressure
|
4 months ago |
|
utun.exe.manifest
|
Build: Fix Windows build with OpenSSL support
|
8 months ago |
|
utun.md
|
Fix: Add bounds/mtu checks, underflow protection and null deref fix for ETCP robustness
|
5 months ago |
|
utun_start.sh
|
Backup before fixing test_routing_mesh segfault
|
8 months ago |
|
utun_stop.sh
|
Backup before fixing test_routing_mesh segfault
|
8 months ago |
|
utun_stop1.sh
|
Backup before fixing test_routing_mesh segfault
|
8 months ago |