fix: исправить баги, sentinel-ошибки, устаревшие доки
Баги: - udprelay: errors.Is(DeadlineExceeded) вместо сравнения строк; короткий backoff в ветке lockout; обернуть DTLS-ошибку через %w - bondserver.copyBondToBackend: лимит pending-map в 1024 (паритет с bondclient) - srtpmimicry.RelayPacketConn: bufPool для горячего UDP-пути (паритет с listen.go) - vkauth.token.go: ручной солвер под ctx.WithTimeout(ctx, ...) вместо Background — нет утечки горутины при shutdown Гигиена: - sentinel-ошибки vkauth как var = errors.New(...); вызыватели используют errors.Is - убраны устаревшие комментарии этапов рефакторинга (Pion SPDX, "Package bond", internal/bond, удалённый файл заметок) - .gitignore: *.exe, *.so Тесты + lint проходят.
This commit is contained in:
1 parent
7e3369f478
commit
ed6825976a
18 files changed
+203
-448
No files matched your search
@@ -4,10 +4,8 @@
|
||||
// wrap key, but do not touch the network, DNS, or process state. main() is
|
||||
// responsible for wiring those side effects after Parse* returns.
|
||||
//
|
||||
// V2-7: options are grouped by domain (TURN, Obf, Proxy, VK, DNS, Log) so the
|
||||
// struct shape mirrors the conceptual layers of the proxy instead of being a
|
||||
// flat bag of bools. CLI flag names, defaults, and behavior are bit-exact
|
||||
// compatible with the pre-V2-7 surface.
|
||||
// Options are grouped by domain (TURN, Obf, Proxy, VK, DNS, Log) so the struct
|
||||
// shape mirrors the conceptual layers of the proxy.
|
||||
package config
|
||||
|
||||
import (
|
||||
|
||||
Reference in new issue
Block a user