1. 16 Feb, 2017 6 commits
  2. 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
  3. 14 Feb, 2017 4 commits
  4. 13 Feb, 2017 2 commits
  5. 11 Feb, 2017 2 commits
  6. 08 Feb, 2017 3 commits
  7. 07 Feb, 2017 2 commits
  8. 04 Feb, 2017 1 commit
  9. 28 Jan, 2017 2 commits
  10. 25 Jan, 2017 5 commits
  11. 24 Jan, 2017 9 commits
  12. 23 Jan, 2017 2 commits
    • Matt Holt's avatar
      Merge pull request #1356 from mholt/fix_hijack · 696b46f0
      Matt Holt authored
      proxy: Fixed #1352: invalid use of the HTTP hijacker
      696b46f0
    • Peer Beckmann's avatar
      Generate meta elements from prelude items description and keywords (#1335) · e5ef285e
      Peer Beckmann authored
      * Generate meta elements from useful front matters.
      Limited to the default template and specific elements.
      
      * Rerun gofmt
      
      * Add "keywords" and remove "language" to/from the list of meta tags.
      
      * Add a simple positive list test for the meta tag generation.
      
      * Move the meta tag list to a var at the begin of the file.
      Seperate the Meta tags from the other front matters:
      	- Don't override user settings with name `meta`
      	- Cleaner Code.
      
      * Remove the uneccessary `[:]` in the []Bytes to String casting.
      @mholt was right ;)
      
      * One minor refinement. Combining two statements.
      e5ef285e
  13. 21 Jan, 2017 1 commit