[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #9330 [Pluggable transport]: Pluggable Transports on windows are killed with ProcessTerminate
#9330: Pluggable Transports on windows are killed with ProcessTerminate
------------------------------+--------------------------------------------
Reporter: yawning | Owner: asn
Type: defect | Status: new
Priority: normal | Milestone:
Component: Pluggable | Version: Tor: unspecified
transport | Keywords: pt, win32, pluggable transport
Resolution: | Parent ID:
Actual Points: |
Points: |
------------------------------+--------------------------------------------
Comment (by dcf):
Replying to [comment:1 infinity0]:
> - It is possible to send and trap CTRL-BREAK on python (os.kill /
signal.signal) and C/C++, (GenerateConsoleCtrlEvent /
SetConsoleCtrlHandler), so one option is to appropriate this for SIGTERM
purposes, but we would need to update the PT spec to explicitly say this,
since there is no standard behaviour for CTRL-BREAK and clients won't just
assume this. (OTOH I am guessing Tor sends a SIGTERM on UNIX as that *is*
the standard way to request a graceful shutdown.)
Cross-referencing #9732, about the (non-)documentation of what pluggable
transports should do on SIGTERM.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9330#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs