Skip to content

Commit

Permalink
temp: ignore sigpipe
Browse files Browse the repository at this point in the history
  • Loading branch information
uchenily committed Jun 12, 2024
1 parent ba35c0b commit 501420a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/socks5_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ class Socks5Server {
} // namespace socks5

auto main() -> int {
signal(SIGPIPE, SIG_IGN);
socks5::Socks5Server proxy{"0.0.0.0", PORT};
proxy.run();
}

0 comments on commit 501420a

Please sign in to comment.