There was an error while loading. Please reload this page.
1 parent ad0b90d commit 56c4486Copy full SHA for 56c4486
1 file changed
cads_mars_server/server.py
@@ -219,17 +219,7 @@ def send_header(
219
signal.alarm(self.timeout)
220
total += len(data)
221
# LOG.info(f"Sending data {len(data)} total {total:_}")
222
- try:
223
- self.wfile.write(data)
224
- except IOError:
225
226
- LOG.error("Error sending data")
227
- LOG.error("Killing mars process %s", pid)
228
- os.kill(pid, signal.SIGKILL)
229
- except Exception as e:
230
- LOG.error("Error killing mars process %s", e)
231
- pass
232
- raise
+ self.wfile.write(data)
233
signal.alarm(0)
234
235
count += 1
0 commit comments