Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental support for catching serialization errors #15

Merged
merged 1 commit into from
Feb 11, 2020

Conversation

mitsuhiko
Copy link
Owner

@mitsuhiko mitsuhiko commented Feb 11, 2020

This tries to catch serialization errors and report them across the process boundary. This seems quite insane because it calls send() twice. I'm also currently experiencing all kinds of errors being reported on my mac but I'm not sure if this is related to this change.

This also adds a JSON wrapper so that bincode incompatible values can be send across.

Opened an upstream issue in ipc-channel: servo/ipc-channel#257

@mitsuhiko mitsuhiko merged commit 690e050 into master Feb 11, 2020
@mitsuhiko mitsuhiko deleted the feature/catch-serialization-failures branch February 11, 2020 18:58
@mitsuhiko mitsuhiko restored the feature/catch-serialization-failures branch February 11, 2020 18:59
mitsuhiko added a commit that referenced this pull request Feb 11, 2020
mitsuhiko added a commit that referenced this pull request Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant