Skip to content
Snippets Groups Projects
  1. Aug 18, 2015
    • Nick Mathewson's avatar
      Make the control/events test run TT_FORK · e507f9bf
      Nick Mathewson authored
      Some of them like to munge the global event mask, so it's important
      to have that behavior isolated.
      e507f9bf
    • Nick Mathewson's avatar
      Remove obsolete event_format_t · 60c8fbf1
      Nick Mathewson authored
      We used to use this when we had some controllers that would accept
      long names and some that wouldn't.  But it's been obsolete for a
      while, and it's time to strip it out of the code.
      60c8fbf1
    • Nick Mathewson's avatar
      Refactor our logic for sending events to controllers · bab221f1
      Nick Mathewson authored
      Previously we'd put these strings right on the controllers'
      outbufs. But this could cause some trouble, for these reasons:
      
        1) Calling the network stack directly here would make a huge portion
           of our networking code (from which so much of the rest of Tor is
           reachable) reachable from everything that potentially generated
           controller events.
      
        2) Since _some_ events (EVENT_ERR for instance) would cause us to
           call connection_flush(), every control_event_* function would
           appear to be able to reach even _more_ of the network stack in
           our cllgraph.
      
        3) Every time we generated an event, we'd have to walk the whole
           connection list, which isn't exactly fast.
      
      This is an attempt to break down the "blob" described in
      http://archives.seul.org/tor/dev/Mar-2015/msg00197.html -- the set of
      functions from which nearly all the other functions in Tor are
      reachable.
      
      Closes ticket 16695.
      bab221f1
  2. Jul 29, 2015
  3. Jul 28, 2015
  4. Jul 27, 2015
  5. Jul 24, 2015
  6. Jul 23, 2015
  7. Jul 22, 2015
  8. Jul 21, 2015
  9. Jul 20, 2015
  10. Jul 16, 2015
Loading