[tor-bugs] #15545 [Pluggable transport]: Document TOR_PT_EXIT_ON_STDIN_CLOSE in the pt-spec.

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Apr 5 23:55:28 UTC 2015


#15545: Document TOR_PT_EXIT_ON_STDIN_CLOSE in the pt-spec.
-------------------------------------+--------------------------------
     Reporter:  yawning              |      Owner:  yawning
         Type:  task                 |     Status:  needs_review
     Priority:  normal               |  Milestone:  Tor: 0.2.7.x-final
    Component:  Pluggable transport  |    Version:
   Resolution:                       |   Keywords:  pt-spec pt-wants
Actual Points:                       |  Parent ID:
       Points:                       |
-------------------------------------+--------------------------------

Comment (by dcf):

 Replying to [comment:1 yawning]:
 > Anyway, this documents the PT termination behavior, including the
 shutdown on close stuff:
 > https://github.com/Yawning/torspec/compare/bug15545

 There are some typo fixes that should be a separate commit.
 {{{
 + 2.3. Extended ORPort
 - versions of this configuration protocol Tor supports. Clients
 + versions of this configuration protocol Tor supports. Proxies
 - too while performing the managed proxy protocol:
 + to while performing the managed proxy protocol:
 }}}

 A little typo "enviornment" (three times).

 Instead of saying "by closing their listener ports, closing all existing
 connections, running other cleanup as required, and terminating" twice in
 two separate paragraphs, it's easier to understand if you first say what
 should happen on SIGTERM, and then say that if
 TOR_PT_EXIT_ON_STDIN_CLOSE=1, that stdin EOF has the same meaning as
 SIGTERM.

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


More information about the tor-bugs mailing list