Use tomb v2, update deps, fix hang on stale connection

- Use tomb v2 to properly spawn and reap goroutines (hopefully)
- Update deps
- Fix hang on stale connection due to improper goroutine management
This commit is contained in:
eleksir
2024-11-16 10:41:00 +03:00
parent 678d830f8c
commit fb19f8056a
345 changed files with 14486 additions and 7346 deletions

View File

@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build windows && !race
// +build windows,!race
package windows