Skip to content
Snippets Groups Projects
  1. Dec 17, 2018
    • Alexander Hansen Færøy's avatar
      Add new Process subsystem. · 35509978
      Alexander Hansen Færøy authored and Nick Mathewson's avatar Nick Mathewson committed
      This patch adds a new Process subsystem for running external programs in
      the background of Tor. The design is focused around a new type named
      `process_t` which have an API that allows the developer to easily write
      code that interacts with the given child process. These interactions
      includes:
      
      - Easy API for writing output to the child process's standard input
        handle.
      - Receive callbacks whenever the child has output on either its standard
        output or standard error handles.
      - Receive callback when the child process terminates.
      
      We also support two different "protocols" for handling output from the
      child process. The default protocol is the "line" protocol where the
      process output callbacks will be invoked only when there is complete
      lines (either "\r\n" or "\n" terminated). We also support the "raw"
      protocol where the read callbacks will get whatever the operating system
      delivered to us in a single read operation.
      
      This patch does not include any operating system backends, but the Unix
      and Windows backends will be included in separate commits.
      
      See: https://bugs.torproject.org/28179
      35509978
  2. Nov 27, 2018
  3. Nov 26, 2018
  4. Nov 23, 2018
  5. Nov 22, 2018
  6. Nov 21, 2018
    • Nick Mathewson's avatar
      Fix a fun heisenbug in memoize_protover_flags() · 469f47ef
      Nick Mathewson authored
      After we clear the protover map for getting full, we need to
      re-create it, since we are about to use it.
      
      This is a bugfix for bug 28558. It is a bugfix for the code from
      ticket 27225, which is not in any released Tor.  Found by Google
      OSS-Fuzz, as issue 11475.
      469f47ef
  7. Nov 20, 2018
  8. Nov 19, 2018
Loading