- 11 Jun, 2018 2 commits
-
-
Kenton Varda authored
Fix a typo
-
Ian Denhardt authored
s/starp/strap/
-
- 10 Jun, 2018 1 commit
-
-
Kenton Varda authored
Fix chunked body gather-write test.
-
- 09 Jun, 2018 1 commit
-
-
Kenton Varda authored
The braced array literals seem to be constructed as temporaries. The test passes in debug builds, but in optimized builds, the arrays have been overwritten by the time they are used.
-
- 08 Jun, 2018 1 commit
-
-
Kenton Varda authored
Chunked body fixes in kj-http
-
- 07 Jun, 2018 3 commits
-
-
Harris Hancock authored
-
Harris Hancock authored
-
Harris Hancock authored
The gather-write and tryPumpFrom() member functions weren't encoding their chunk sizes in hex, and the gather-write case had an off-by-n error building the body data pieces.
-
- 05 Jun, 2018 1 commit
-
-
Kenton Varda authored
Allow hash signs in path and query components in kj::Url request contexts
-
- 04 Jun, 2018 6 commits
-
-
Harris Hancock authored
Occasionally servers processing HTTP requests will see URLs in the wild which have unescaped hash signs in path and query components. This change allows kj::Url to parse such URLs in the Url::HTTP_REQUEST and Url::HTTP_PROXY_REQUEST contexts.
-
Kenton Varda authored
Add sychronous gzip stream implementations.
-
Kenton Varda authored
I was shocked to find that there was no good way to represent a multi-line literal currently. This implements C-style literals, where multiple consecutive string literals are concatenated.
-
Kenton Varda authored
-
Kenton Varda authored
Similar methods already exist on AsyncInputStream.
-
Kenton Varda authored
Really actually fix HttpServer::drain().
-
- 02 Jun, 2018 1 commit
-
-
Kenton Varda authored
It turns out I was testing it wrong, and it still doesn't work. :(
-
- 30 May, 2018 2 commits
-
-
Kenton Varda authored
Fix regressions in HTTP drain.
-
Kenton Varda authored
-
- 24 May, 2018 2 commits
-
-
Kenton Varda authored
Rewrite JSON decoding
-
Ingvar Stepanyan authored
-
- 17 May, 2018 5 commits
-
-
Ingvar Stepanyan authored
-
Ingvar Stepanyan authored
-
Ingvar Stepanyan authored
Simplifiy implementation and, as a bonus, allow overflowing floating numbers to convert to +/-Infinity like they do in JSON.parse. Also update outdated comment about NaN and Infinity being encoded as `null`.
-
Ingvar Stepanyan authored
-
Ingvar Stepanyan authored
- Add support for decoding with Orphanage. - Allow decoding of non-struct root JSON objects. - Add support for custom decoding type handlers. - Add support for custom decoding field handlers.
-
- 15 May, 2018 2 commits
-
-
Kenton Varda authored
Add flag to kj::Url::parse() to prevent automatic decoding of URL components
-
Harris Hancock authored
-
- 12 May, 2018 1 commit
-
-
Kenton Varda authored
I haven't looked at it in years, why waste everyone's bandwidth?
-
- 03 May, 2018 3 commits
-
-
Kenton Varda authored
Fix problem on android api < 23
-
Christian Plesner Hansen authored
-
Kenton Varda authored
Don't log/throw exceptions if the service returned successfully witho…
-
- 02 May, 2018 3 commits
-
-
Kenton Varda authored
Theory is that maybe it did this intentionally, e.g. because it really just wanted to disconnect and it already dealt with any errors. The client should notice the stream ending prematurely so it should be possible for the developer to see the problem from the client side.
-
Kenton Varda authored
Don't throw from ~HttpChunkedEntityWriter after write cancellation.
-
Kenton Varda authored
In theory KJ style should allow this to be caught (it doesn't throw if another exception was already thrown), but I've observed this producing an std::terminate() for some reason.
-
- 01 May, 2018 3 commits
-
-
Kenton Varda authored
Improve HTTP body cancellation handling.
-
Kenton Varda authored
-
Kenton Varda authored
-
- 27 Apr, 2018 1 commit
-
-
Kenton Varda authored
Implement newHttpClient(HttpService&).
-
- 24 Apr, 2018 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-