We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d64d2d commit e24fd86Copy full SHA for e24fd86
1 file changed
src/triton_signal.cc
@@ -1,4 +1,4 @@
1
-// Copyright 2020-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+// Copyright 2020-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
//
3
// Redistribution and use in source and binary forms, with or without
4
// modification, are permitted provided that the following conditions
@@ -137,6 +137,9 @@ RegisterSignalHandler()
137
signal(SIGSEGV, ErrorSignalHandler);
138
signal(SIGABRT, ErrorSignalHandler);
139
140
+ // Ignore SIGPIPE to prevent crash on AWS SDK writing to closed idle sockets
141
+ signal(SIGPIPE, SIG_IGN);
142
+
143
return nullptr; // success
144
}
145
0 commit comments