Access rustls::Session from hyper::Service

未关闭
#146 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
rust

调研方向

首先追踪此仓库中的 hyper::Service::call 集成,以及 rustls 会话的处理方式。确定是否可以在不改变预期集成边界的情况下,将 rustls::Session 暴露给 service,并定义受支持的访问路径及其行为,包括 TLS 密钥材料的使用。该 issue 未指明仓库中的文件或测试。

由索引模型根据 Issue 内容生成。

描述

Currently the parameters of hyper::Service::call only include a Request. And I'm curious if it's possible to access rustls::Session somewhere from the Service.

Accessing TLS session could be useful for multiple reasons, for example for implementing applications that rely on the TLS Keying Material (provided by rustls::Session::export_keying_material).

cc @tiziano88

主要语言
Rust
星标
361
派生
169
平均合并
9 小时 35 分钟
30 天内合并 PR
8

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

rustls/hyper-rustls 的其他 Issue

查看 rustls/hyper-rustls 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。