-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
更新内容 #944
base: master
Are you sure you want to change the base?
更新内容 #944
Conversation
更新内容 |
@@ -52,7 +52,7 @@ | |||
* | |||
* @return new site | |||
*/ | |||
public static Site me() { | |||
public static Site me() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个修改是没有必要的。
大部分的修改都是关于 example 里的 baidu 相关的,为什么要做这个修改? |
return httpClientBuilder.build(); | ||
SSLContext ctx = null; | ||
try { | ||
ctx = SSLContexts.custom().useProtocol("TLSv1.2").build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为什么要强制使用 TLSv1.2?构造函数里不是已经注册了 SSLConnectionSocketFactory 了吗?
@@ -19,7 +20,9 @@ | |||
* @author [email protected] <br> | |||
* @since 0.1.0 | |||
*/ | |||
public class FilePipeline extends FilePersistentBase implements Pipeline { | |||
@ThreadSafe | |||
public class FilePipeline extends FilePersistentBase implements Pipeline { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format 不正确。
@@ -19,7 +20,9 @@ | |||
* @author [email protected] <br> | |||
* @since 0.1.0 | |||
*/ | |||
public class FilePipeline extends FilePersistentBase implements Pipeline { | |||
@ThreadSafe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个 annotation 在哪里会用到?
更新内容