go-capnp
go-capnp copied to clipboard
Cap'n Proto library and code generator for Go
After updating to 3.0.1-alpha.1 from 3.0.0-alpha.30, a load test of mine now fails occasionally with error `schema/avas/corehost/corehost.capnp:CoreFactory.buildInfo: call on null client`. __I am trying to build a minimal reproducer to...
This PR modifies `Reset()` (and consequently `NewMessage()`) so that it can be used to initialize messages for reading. Before this PR, `Reset()` would enforce that space for the root pointer...
The [canonicalization spec](https://capnproto.org/encoding.html#canonicalization) has an issue. It requires encoding pointers in pre-order, but doesn't require the same for data fields in an effort to avoid requiring a schema and reflection....
While looking at adding a capnproto-rpc interface to a project, I came to the conclusion that there's no equivalent to [`http.Server`](https://pkg.go.dev/net/http#Server)'s `BaseContext`/`ConnContext`. This makes context propagation a chore, as a...
This PR does not implement any 3PH related functionality, except preparations: - A new `Network3PH` interface has been added to be implemented by networks supporting 3PH. (this could be named...
It would be great to get some basic metrics out of the box to help troubleshoot performance issues with the RPC framework. I am wondering if exposing Prometheus metrics is...
When a stream containing all zero bytes is decoded by capnp.Decoder, a message which contains a zero length segment causes message.Root to panic whilst reading the message. I don't know...