heiher / hev-socks5-tunnel

A high-performance tun2socks for Linux/Android/FreeBSD/macOS/iOS/WSL2 (IPv4/IPv6/TCP/UDP)
MIT License
635 stars 130 forks source link

Ctrl+c #110

Closed pronebird closed 3 months ago

pronebird commented 3 months ago

Do you happen to capture signal handler in your lib (ctrl+c)? If so it would be great if that could be turned off because it steals the one that I set in my binary.

heiher commented 3 months ago

Thanks. SIGINT has been moved to main and is no longer included in API calls: https://github.com/heiher/hev-socks5-tunnel/commit/48e090a3e9255a3acfbbf8bf47f894a9fd0653c1