Skip to content

Commit

Permalink
修复由于不支持TLSv1.3导致握手失败问题
Browse files Browse the repository at this point in the history
  • Loading branch information
jiayaoO3O authored Nov 5, 2022
1 parent e5a3f3a commit ba7fa15
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ java这门语言能让小项目变成中项目, 中项目变成大项目 🤡

| 更新日期 | 更新内容 |
|:----------------:|:-----------------|
| 2022/11/05 21:00 | 修复由于不支持TLSv1.3导致握手失败问题.|
| 2022/10/25 11:00 | 同步跟进quarkus框架到2.13.3.Final版本.|
| 2022/10/13 17:00 | 同步跟进quarkus框架到2.13.2.Final版本.|
| 2022/10/7 17:30 | **抛弃切割判断算法, 因为我已经找到需要切割和不需要切割的分界线了, 判断相似度已经没有意义了, 版本升级到5.1.0, 起飞🦽**.|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public Uni<HttpResponse<Buffer>> post(String url) {
.putHeader("upgrade-insecure-requests", " 1")
.putHeader("pragma", " no-cache");
//cookie.ifPresent(cook -> request.putHeader("cookie", cook));
return request.send().log()
return request.send()
.chain(response -> this.checkResponseStatus(url, response))
.onFailure()
.retry()
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/downloadPath.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[
"https://18comic.org/album/364522"

]

0 comments on commit ba7fa15

Please sign in to comment.