Skip to content
Snippets Groups Projects
  1. Oct 22, 2016
  2. Oct 15, 2016
    • Yuya Nishihara's avatar
      server: move cmdutil.service() to new module (API) · d9d8d78e6bc9
      Yuya Nishihara authored
      And call it runservice() because I'll soon add createservice().
      
      The main reason I'm going to introduce the 'server' module is to solve
      future dependency cycle between chgserver.py and commandserver.py.
      
      The 'server' module sits at the same layer as the cmdutil. I believe it's
      generally good to get rid of things from the big cmdutil module.
      d9d8d78e6bc9
  3. Jul 14, 2016
    • Gregory Szorc's avatar
      tests: use sslutil.wrapserversocket() · 1b8b6adb2365
      Gregory Szorc authored
      Like the built-in HTTPS server, this code was using the ssl module
      directly and only using TLS 1.0. Like the built-in HTTPS server,
      we switch it to use sslutil.wrapserversocket() so it can follow better
      practices.
      1b8b6adb2365
  4. May 27, 2016
    • Yuya Nishihara's avatar
      tests: add dummy SMTP daemon for SSL tests · 2bb0ddd8267b
      Yuya Nishihara authored
      Currently it only supports SMTP over SSL since SMTPS should be simpler than
      handling StartTLS.
      
      Since we don't need asynchronous server for our tests, it does TLS handshake
      in blocking way. But asyncore is required by Python smtpd module.
      2bb0ddd8267b
Loading