-
Notifications
You must be signed in to change notification settings - Fork 761
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
Remove TLSCONN_DEBUG dead code in tls.c #1891
Remove TLSCONN_DEBUG dead code in tls.c #1891
Conversation
d91ba50
to
eb9f06b
Compare
Can you explain how this is triggered? Does it only happen in debug mode? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## unstable #1891 +/- ##
============================================
+ Coverage 71.00% 71.01% +0.01%
============================================
Files 123 123
Lines 65671 65673 +2
============================================
+ Hits 46631 46639 +8
+ Misses 19040 19034 -6
🚀 New features to boost your workflow:
|
I haven't trigger this bug in production enviroment. Just find it when i learn the code. |
Signed-off-by: WelongZuo <[email protected]>
eb9f06b
to
16de41b
Compare
This code is a dead code, there is also a undefined fd error in it. Obviously this will not compile if this kind of debugging is enabled. This seems to be broken ever since 5a47794 which was done in 2019. It's dead code that we never test and never use. Fixes valkey-io#1887 Signed-off-by: WelongZuo <[email protected]> Co-authored-by: z00636558 <[email protected]>
This code is a dead code, there is also a undefined fd error in it. Obviously this will not compile if this kind of debugging is enabled. This seems to be broken ever since 5a47794 which was done in 2019. It's dead code that we never test and never use. Fixes #1887 Signed-off-by: WelongZuo <[email protected]> Co-authored-by: z00636558 <[email protected]>
This code is a dead code, there is also a undefined fd error in it.
Obviously this will not compile if this kind of debugging is enabled.
This seems to be broken ever since 5a47794
which was done in 2019. It's dead code that we never test and never use.
Fixes #1887