Skip to content

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

Merged
JacksonTian merged 1 commit intomasterfrom
update-client-key
Jul 18, 2024
Merged

fix: resolve http client builder when runtime not same && security re…#219
JacksonTian merged 1 commit intomasterfrom
update-client-key

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
@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.

没有用到的内部函数

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