1. 21 Feb, 2017 1 commit
  2. 20 Feb, 2017 3 commits
  3. 19 Feb, 2017 1 commit
  4. 18 Feb, 2017 4 commits
  5. 17 Feb, 2017 7 commits
    • Kurt Jung's avatar
      basicauth: Store name of authenticated user (#1426) · 977a3c32
      Kurt Jung authored
      * Store name of authenticated user in basicauth for use by upstream middleware such as fastcgi and cgi.
      
      * Use request context to transfer name of authorized user from basicauth to upstream middleware. Test retrieval of name from context.
      
      * Remove development code that was inadvertently left in place
      
      * Use keys of type httpserver.CtxKey to access Context values
      977a3c32
    • Matt Holt's avatar
      Detect HTTPS interception (#1430) · 82cbd7a9
      Matt Holt authored
      * WIP: Implement HTTPS interception detection by Durumeric, et. al.
      
      Special thanks to @FiloSottile for guidance with the custom listener.
      
      * Add {{.IsMITM}} context action and {mitm} placeholder
      
      * Improve MITM detection heuristics for Firefox and Edge
      
      * Add tests for MITM detection heuristics
      
      * Improve Safari heuristics for interception detection
      
      * Read ClientHello during first Read() instead of during Accept()
      
      As far as I can tell, reading the ClientHello during Accept() prevents
      new connections from being accepted during the read. Since Read() should
      be called in its own goroutine, this keeps Accept() non-blocking.
      
      * Clean up MITM detection handler; make possible to close connection
      
      * Use standard lib cipher suite values when possible
      
      * Improve Edge heuristics and test cases
      
      * Refactor MITM checking logic; add some debug statements for now
      
      * Fix bug in MITM heuristic tests and actual heuristic code
      
      * Fix gofmt
      
      * Remove debug statements; preparing for merge
      82cbd7a9
    • Mateusz Gajewski's avatar
      HTTP/2 push support (golang 1.8) (#1215) · cdf7cf5c
      Mateusz Gajewski authored
      * WIP
      
      * HTTP2/Push for golang 1.8
      
      * Push plugin completed for review
      
      * Correct build tag
      
      * Move push plugin position
      
      * Add build tags to tests
      
      * Gofmt that code
      
      * Add header/method validations
      
      * Load push plugin
      
      * Fixes for wrapping writers
      
      * Push after delivering file
      
      * Fixes, review changes
      
      * Remove build tags, support new syntax
      
      * Fix spelling
      
      * gofmt -s -w .
      
      * Gogland time
      
      * Add interface guards
      
      * gofmt
      
      * After review fixes
      cdf7cf5c
    • elcore's avatar
      Add support for ChaCha20-Poly1305 (#1443) · 57900782
      elcore authored
      57900782
    • Matt Holt's avatar
      Merge pull request #1378 from tw4452852/1362 · e50de809
      Matt Holt authored
      proxy: handle encoded path in URL
      e50de809
    • Tw's avatar
      proxy: handle encoded path in URL · c37481cc
      Tw authored
      fix issue #1362
      Signed-off-by: default avatarTw <tw19881113@gmail.com>
      c37481cc
    • elcore's avatar
      Implement curve X25519 (Golang 1.8) (#1376) · 91ff7343
      elcore authored
      * Implement curve X25519
      
      * caddytls: Added a default curves list
      
      * caddytls: Improve tests
      91ff7343
  6. 16 Feb, 2017 9 commits
  7. 15 Feb, 2017 1 commit
    • Augusto Roman's avatar
      Fix data race for max connection limiting in proxy directive. (#1438) · 463c9d9d
      Augusto Roman authored
      * Fix data race for max connection limiting in proxy directive.
      
      The Conns and Unhealthy fields are updated concurrently across all active
      requests.  Because of this, they must use atomic operations for reads and
      writes.
      
      Prior to this change, Conns was incremented atomically, but read unsafely.
      Unhealthly was updated & read unsafely.  The new test
      TestReverseProxyMaxConnLimit exposes this race when run with -race.
      
      Switching to atomic operations makes the race detector happy.
      
      * oops, remove leftover dead code.
      463c9d9d
  8. 14 Feb, 2017 4 commits
  9. 13 Feb, 2017 2 commits
  10. 11 Feb, 2017 2 commits
  11. 08 Feb, 2017 3 commits
  12. 07 Feb, 2017 2 commits
  13. 04 Feb, 2017 1 commit