Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #32046
Closed (moved) (moved)
Open
Issue created Oct 11, 2019 by David Fifield@dcf

Stop counting handlers

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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking