-
Notifications
You must be signed in to change notification settings - Fork 1k
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
The tonic server process exit unexpected when the client get a wrong tls config #1897
Comments
zier-one
changed the title
The tonic server exit unexpected when the client get a wrong tls config
The tonic server process exit unexpected when the client get a wrong tls config
Aug 28, 2024
I've located the bug is caused by this pr c3be20c |
And I try to fix it in #1885 (comment) |
fixed in #1885 |
This was referenced Oct 1, 2024
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Version
v0.12.2 and master branch
Platform
Darwin XXX 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000 arm64
Description
First, let's try to run the
server.rs
andclient.rs
in examples/src/tls.The server says:
And the client says:
Everything is OK for now.
Then, let's change one line in
client.rs
:tonic/examples/src/tls/client.rs
Lines 14 to 17 in 82a856f
modify
.domain_name("example.com");
to.domain_name("wrong.com");
in L16And then, run the
server.rs
andclient.rs
again.We can see the client says:
It's OK, but the server process EXIT WITH NO ERROR. It confuses me.
The text was updated successfully, but these errors were encountered: