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

Disable rejectUnauthorized if expired certificates are allowed #90

Merged
merged 2 commits into from
Sep 7, 2022

Conversation

f0x52
Copy link

@f0x52 f0x52 commented Aug 19, 2022

if rejectUnauthorized is not disabled for this.opt.certExpired = true, the socket is already closed before the case on line 1201 can choose to keep the socket open anyways.

if rejectUnauthorized is not disabled for `this.opt.certExpired = true`, the socket is already closed before the case on line 1201 can choose to keep the socket open anyways.
Copy link

@Half-Shot Half-Shot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Signed-off-by: f0x <github@cthu.lu>
@f0x52
Copy link
Author

f0x52 commented Sep 7, 2022

Signed-off-by: f0x github@cthu.lu

@Half-Shot Half-Shot merged commit 3ac4006 into matrix-org:master Sep 7, 2022
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.

2 participants