[tor-bugs] #32046 [Circumvention/Snowflake]: Stop counting handlers

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Oct 11 22:50:59 UTC 2019


#32046: Stop counting handlers
-----------------------------------------+----------------------
     Reporter:  dcf                      |      Owner:  dcf
         Type:  enhancement              |     Status:  assigned
     Priority:  Medium                   |  Milestone:
    Component:  Circumvention/Snowflake  |    Version:
     Severity:  Normal                   |   Keywords:
Actual Points:                           |  Parent ID:
       Points:                           |   Reviewer:
      Sponsor:                           |
-----------------------------------------+----------------------
 The transport programs (client, server, and server-webrtc) have some
 obsolete handler-counting code that tries to keep the process alive until
 all ongoing connections have terminated. This is a remnant of an earlier
 version of pt-spec that prescribed different handling of SIGINT and
 SIGTERM, and required this behavior on SIGTERM. pt-spec has since changed
 to no longer mention SIGINT, and prescribe immediate shutdown (terminating
 ongoing handlers) on SIGTERM.

 Here's background: comment:5:ticket:26389.

 Here's the corresponding change in meek: https://gitweb.torproject.org
 /pluggable-
 transports/meek.git/commit/?id=c7541223c704f76cb45a4e20bd20d963ea8d1fc7

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32046>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list