【问题标题】:Does libtorrent support http web seed with digest authentication?libtorrent 是否支持带有摘要身份验证的 http web 种子?
【发布时间】:2020-03-15 20:51:57
【问题描述】:

我使用 libtorrent 实现了一个 bittorrent 客户端。但我遇到了一个问题。我有一个 http 文件服务器作为网络种子。服务器只支持http请求的摘要认证。并且 Libtorrent 默认支持基本身份验证。有没有办法让 libtorrent 支持摘要身份验证?举个例子就好了。提前致谢。

【问题讨论】:

  • 看起来它没有在身份验证过程中提供任何挂钩。然后,您将不得不破解摘要支持。或者,使用为您执行摘要式身份验证的 HTTP 代理。

标签: c++ http digest-authentication libtorrent


【解决方案1】:

不,libtorrent 不支持 HTTP 种子的摘要身份验证。

欢迎使用补丁! (实际上,Web 服务器和 HTTP 跟踪器应该真正转换为使用 boost.beast 而不是自制的 HTTP 解析器)

【讨论】:

    猜你喜欢
    • 2018-11-24
    • 2011-03-06
    • 1970-01-01
    • 1970-01-01
    • 2017-07-26
    • 1970-01-01
    • 2023-03-06
    • 2016-06-21
    相关资源
    最近更新 更多