Comments (4)
Yes, it uses the original (simpler) bootstrapping scheme. I didn't know anyone was using the newer one (I thought it might have been abandoned).
I think you probably just need to use restorer
instead of bootstrap
in the Python server.
Possibly the OCaml code should skip setting the ID if it's the empty string so it can support either scheme.
capnp-rpc/capnp-rpc-net/serialise.ml
Line 73 in 8365bca
from capnp-rpc.
Thanks for the quick reply. Unfortunately, it looks like the workaround you suggested will not work, because the restorer
named argument was removed from the python implementation in 2019 (even though the documentation still mentions it): capnproto/pycapnp@f6dd08d#diff-17d3a2bf99cbe0f9aeebce3362e3e7c5ce9a732f43c205cee6c00fee54a09790L2417
Do you have any ideas for other workarounds? Thanks.
from capnp-rpc.
Did the other change I suggested work? i.e. don't set the object_id
if it's the empty string.
from capnp-rpc.
Ah sorry, I thought that was more of a meta-comment, not something for me to try. I tried it now, and I can indeed confirm it works. See PR #224.
from capnp-rpc.
Related Issues (20)
- Connecting to self-hosted sturdy refs
- When not using TLS, use address as ID
- Limit queue sizes
- capnp-rpc via TLS: authentication? HOT 5
- Creating one Vat for a service that requires a client capability for the initialisation of the server HOT 5
- Error compiling persistent.capnp when installing HOT 2
- Async version? HOT 1
- [lwt, unix] Release supporting OCaml 4.06 HOT 2
- Noise protocol support HOT 2
- Tests fail if opam switch name is too long
- Exercise Help: Callback.log question HOT 1
- lwt backend without a dep on `tls`? HOT 2
- synchronous backend? HOT 3
- Level 3 HOT 2
- Race conditions in test suite.
- [Question] dec_ref on an interface HOT 5
- `Invalid capability index!` when trying to return a capability reference from the server to the client. HOT 2
- Capnp build error on 32bit x86: Value too large for defined data type. HOT 5
- Examples: alternative roadmaps? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capnp-rpc.