- 05 Feb, 2018 2 commits
-
-
Kenton Varda authored
Add option to omit default-valued primitives from JSON output.
-
Kenton Varda authored
-
- 04 Feb, 2018 1 commit
-
-
Kenton Varda authored
-
- 01 Feb, 2018 4 commits
-
-
Kenton Varda authored
Fix bug where DNS lookup would fail for very long hostnames.
-
Kenton Varda authored
-
Kenton Varda authored
Add Array::attach() and ArrayPtr::attach().
-
Kenton Varda authored
-
- 31 Jan, 2018 1 commit
-
-
Kenton Varda authored
Array::attach() is like Own::attach(). ArrayPtr::attach() promotes an ArrayPtr to an Array by attaching other objects to it. (Hopefully one of those objects actually owns the underlying array data.)
-
- 30 Jan, 2018 2 commits
-
-
Kenton Varda authored
Allow working around the message size limit
-
Alex Silverstein authored
-
- 29 Jan, 2018 1 commit
-
-
Kenton Varda authored
-
- 26 Jan, 2018 2 commits
-
-
Kenton Varda authored
Treat 'Premature EOF' error on async stream as DISCONNECTED.
-
Kenton Varda authored
Unfortunately TCP does not always distinguish between dirty connection failure and clean connection shutdown. In practice, though, "Premature EOF" errors on streams basically always appear to be due to disconnects (including when the peer crashes).
-
- 20 Jan, 2018 1 commit
-
-
Kenton Varda authored
-
- 19 Jan, 2018 1 commit
-
-
Kenton Varda authored
Refactor handling of connection-level headers.
-
- 18 Jan, 2018 2 commits
-
-
Kenton Varda authored
The headers for multiple responses could end up merged because the call to headers.clear() was happening too early. This manifested as `Content-Length: 7, 13` observed in the second pipelined response.
-
Kenton Varda authored
Although applications in theory shouldn't care to see connection-level headers (e.g. `Transfer-Encoding`), higher-level specs like the JavaScript Fetch API often specify that these headers should be visible, and they can be useful for debugging. So, this change makes it so that the application can see the connection-level headers on incoming requests. For outgoing requests, the application can provide an HttpHeaders object that specifies these headers (important especially for the pass-through case), but the HTTP implementation will ignore them. Additionally, we can now allow the application to set WebSocket connection-level headers on non-WebSocket requests. This is useful for frameworks that emulate WebSocket over HTTP and assume the ability to set WebSocket headers (especially `Sec-WebSocket-Extension`) on regular non-WebSocket HTTP requests.
-
- 11 Jan, 2018 11 commits
-
-
Kenton Varda authored
Silence compiler warning about non-virtual dtor on non-final classes
-
Harris Hancock authored
-
Kenton Varda authored
Make AsyncUnixTest/InterruptedTimer slower on Linux becaues it turns out to be flaky on machines other than mine.
-
Kenton Varda authored
-
Kenton Varda authored
Replace all include guards with #pragma once.
-
Kenton Varda authored
@kloepper pointed out a while back that every compiler you've ever heard of supports this. Plus, it's more concise, it's not prone to copy-paste errors, and it looks nicer. At the time I wanted to remain consistent and I didn't feel like spending the time to update all my existing code. But, every time I've added a new header since I've cursed the include guard, so I finally broke down and changed it.
-
Kenton Varda authored
Fix wrong poll/epoll timeout after EINTR.
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Fix capnp_generate_cpp usage of --src-prefix
-
- 06 Jan, 2018 4 commits
-
-
Kenton Varda authored
Various tweaks needed by Sandstorm HTTP changes
-
Kenton Varda authored
-
Kenton Varda authored
This gives Sandstorm a way to move the membrane to a different process when desired.
-
Kenton Varda authored
-
- 03 Jan, 2018 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 29 Dec, 2017 1 commit
-
-
Kenton Varda authored
Add totalSize() to list readers, like struct readers.
-
- 28 Dec, 2017 1 commit
-
-
Kenton Varda authored
-
- 27 Dec, 2017 1 commit
-
-
Kenton Varda authored
Extend membrane framework to make revocation easy.
-
- 26 Dec, 2017 1 commit
-
-
Kenton Varda authored
I realized upon trying to use this framework in Sandstorm that proper revocation was not easy to implement as-is. It's easy enough to revoke new calls, but canceling existing calls requires implementing a custom RequestHook and such. Since revocation is arguably the most important thing one might want to do with a membrane, this should be built-in.
-
- 23 Dec, 2017 2 commits
-
-
Kenton Varda authored
Change capnp compiler to use KJ filesystem API.
-
Kenton Varda authored
Also fixed a similar _MSC_VER guard that I realized was catching MinGW by accident.
-