Commit d751d404 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

change control spec so closestream doesn't get to specify whether

tor should hold-open-until-flushed. tor should take care of that
(it should always hold open until flushed), and the controller should
never care _how_ tor does its things.


svn:r3892
parent 36baf721
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -431,10 +431,10 @@ the message.
      Reason    [1 octet]
      Flags     [1 octet]

  Tells the server to close the specified stream.  The reason should be one
  of the Tor RELAY_END reasons given in tor-spec.txt.  If the LSB of the
  flags field is nonzero, and the stream wants to write data, Tor tries to
  hold the stream open for a while until it can be flushed.
  Tells the server to close the specified stream.  The reason should be
  one of the Tor RELAY_END reasons given in tor-spec.txt.  Flags is not
  used currently.  Tor may hold the stream open for a while to flush
  any data that is pending.

3.21 CLOSECIRCUIT (Type 0x0014)