1. 10 Sep, 2019 1 commit
  2. 09 Sep, 2019 1 commit
    • Kenton Varda's avatar
      Fix http-test.c++ to avoid dubious assumptions about gather-writes. · 8f9717d2
      Kenton Varda authored
      Most (all?) implementations of `write(ArrayPtr<const ArrayPtr<const byte>>)`, if the outer array contains only one inner array, do not use the outer array again after the initial call returns (as opposed to the promise resolving). But, this is not a safe assumption and http-test.c++ should not be relying on it.
      
      (I found this when I tried forcing all writes to complete asynchronously to check if it resulted in any bugs. This is all I found.)
      8f9717d2
  3. 03 Sep, 2019 5 commits
  4. 21 Aug, 2019 1 commit
  5. 20 Aug, 2019 3 commits
  6. 05 Aug, 2019 1 commit
  7. 02 Aug, 2019 1 commit
    • Harris Hancock's avatar
      Report raw HTTP content when handling client protocol errors in kj-http · 350b2f2b
      Harris Hancock authored
      This information is typically necessary to debug such protocol errors. However, it requires special handling, since it could contain sensitive information.
      
      The code which has the best view on protocol errors is HttpHeaders::tryParseRequest(), which previously returned an empty Maybe<Request> on failure. This commit changes that function to return a OneOf<Request, ProtocolError>. This required some surgery in various other parts of the code to deal with the OneOf.
      350b2f2b
  8. 23 Jul, 2019 2 commits
  9. 22 Jul, 2019 3 commits
  10. 10 Jul, 2019 1 commit
  11. 08 Jul, 2019 21 commits