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

添加rustls feature,方便在交叉编译时去掉openssl依赖 #128

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZegWe
Copy link

@ZegWe ZegWe commented May 13, 2024

添加rustls feature,方便在交叉编译时去掉openssl依赖

@super1207
Copy link

rustls无法访问qq的新图片服务器,不久之前测试过

@ZegWe
Copy link
Author

ZegWe commented May 15, 2024

rustls无法访问qq的新图片服务器,不久之前测试过

这个无法访问图片服务器指的是发送还是接收图片呢,发送我试过是可以的。
不过openssl偶尔也会有无法发送图片的情况,错误码是68,不清楚是风控还是什么原因。

@super1207
Copy link

很抱歉这么久才回复。

image
当reqwest使用rustls作为依赖的时候,然后访问qq的新图床,就会报这个错误,而使用openssl作为依赖就是正常的。

这个是测试用的链接:https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=CgoxODc1MTU5NDIzEhT2GknIyK-fC_b5cN5qvBbbaz-w5hiUpQcg_wootZ3yyuyqhgNQgL2jAQ&spec=0

正常访问应该会得到这样一个页面:
image

而不是AlertReceived(HandshakeFailure)

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