Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Support tokio's UdpSocket for DTLS connections in tokio-boring?

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

首先查看 tokio::UdpSocket、tokio-boring 的 DTLS 接口,以及 issue 中描述的 AsyncRead/AsyncWrite trait 要求。确定是否可以同时支持一对一连接的 socket 和多客户端服务器 socket,然后在准备 PR 之前记录提议的 API 及其完成标准。

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

描述

I am writing a wrapper for tokio's UdpSocket to enable use via tokio-boring. There are two use cases for DTLS connections, one with a one-to-one connection where each partner can use connect(), and one where a server allows multiple clients to connect and maintains a separate DTLS connection to each client via a single socket. This separation makes a straight-forward implementation of the AsyncRead/AsyncWrite traits for UdpSocket impossible, thus requiring the wrapper.

Would there be interest to add this to tokio-boring? If so, I can clean it up and document it for a PR.

主要语言
Rust
星标
526
派生
178
平均合并
15 小时 34 分钟
30 天内合并 PR
9

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

cloudflare/boring 的其他 Issue

查看 cloudflare/boring 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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