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

fix: resolve http client builder when runtime not same && security re… #219

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

yndu13
Copy link
Contributor

@yndu13 yndu13 commented Jul 18, 2024

…inforcement for HTTP requests

@JacksonTian JacksonTian merged commit 74fc3a7 into master Jul 18, 2024
6 checks passed
@JacksonTian JacksonTian deleted the update-client-key branch July 18, 2024 09:26
}

}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

没有用到的内部函数

@@ -86,17 +86,16 @@ public OkHttpClientBuilder connectionPool(Map<String, Object> map) {

public OkHttpClientBuilder certificate(Map<String, Object> map) {
try {
if (Boolean.parseBoolean(String.valueOf(map.get("ignoreSSL")))) {
if (null != map.get("ignoreSSL") && Boolean.parseBoolean(String.valueOf(map.get("ignoreSSL")))) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

上次去掉默认值,如果发布,需要依赖这里的判空逻辑。后面darabonba-openapi也会给个默认值

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