1. 11 May, 2020 2 commits
  2. 04 Apr, 2020 4 commits
  3. 11 Feb, 2020 2 commits
  4. 06 Feb, 2020 4 commits
  5. 06 Jan, 2020 1 commit
    • ale's avatar
      Let the configuration override connection and max request timeouts · c165311f
      ale authored
      Add the 'connect_timeout' and 'request_max_timeout' configuration
      fields, to control respectively the initial connection timeout, and
      the maximum time for each individual request. This allows fine-tuning
      of the expected performance of specific backends, for example to let
      optional backends fail fast.
      c165311f
  6. 17 Aug, 2019 1 commit
    • ale's avatar
      Add packages to generate and send emails · 370ffd97
      ale authored
      We're using language-specific Markdown templates to allow simultaneous
      generation of text and HTML for fancy multipart/alternative
      emails. The package also supports PGP/MIME for signatures (no
      encryption yet).
      370ffd97
  7. 15 Aug, 2019 1 commit
  8. 30 Jun, 2019 1 commit
    • ale's avatar
      Prevent premature cancellation of the HTTP request context · 54f0ac4c
      ale authored
      The Context in the http.Request is bound to the one we give it when
      calling balancedBackend.do(), so we were accessing it out of scope
      when calling the final json.Decode on the response body.
      
      This was not a problem for most *small* requests, as the response Body
      already contains all the data due to having read it along with the
      headers. However, larger response bodies would cause json.Decode to
      call a Read with what at that point is a canceled Context, so the Call
      function would return a mysterious "context canceled" error.
      
      (Note that this change introduces a minor, probably less annoying,
      issue, where we can't reset "resp" between successive calls so we may
      be invoking json.Decode on a non-pristine object if the first call
      fails in some circumstances).
      54f0ac4c
  9. 03 Apr, 2019 2 commits
  10. 27 Mar, 2019 1 commit
  11. 21 Mar, 2019 2 commits
  12. 17 Feb, 2019 1 commit
  13. 29 Jan, 2019 1 commit
  14. 25 Nov, 2018 2 commits
  15. 23 Nov, 2018 1 commit
  16. 22 Nov, 2018 2 commits
  17. 18 Nov, 2018 2 commits
  18. 16 Nov, 2018 1 commit
  19. 29 Oct, 2018 5 commits
  20. 26 Oct, 2018 1 commit
  21. 28 Aug, 2018 1 commit
  22. 17 Aug, 2018 2 commits