Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

OpenSSL 3.2.0 - sessions, time, signed vs unsigned, failure with negative session timeout values

未關閉
#703 6 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
c, ruby

研究方向

首先,使用 OpenSSL 3.2.0 和負的 http.ssl_timeout 值重現 net-http 測試失敗。將 OpenSSL 的 ssl/ssl_sess.c 中的逾時處理與提交 f0131dc04a39afcb1629f5bec2814ef3a4925bbf 進行比較,然後追蹤設定 SSL_CTX_set_timeout 的 Ruby 入口點。在受影響的 MSYS2 建置中相關測試通過,且不破壞逾時行為,即表示完成。

由索引模型根據 Issue 內容生成。

描述

Very recently MSYS2 (Windows ucrt & mingw builds) upgraded their OpenSSL package from OpenSSL 3.1.4 to 3.2.0.

As we've seen, there are issues with a net-http test failing, which is setting http.ssl_timeout to -1.

A commit in OpenSSL (https://github.com/openssl/openssl/commit/f0131dc04a39afcb1629f5bec2814ef3a4925bbf) updates SSL_CTX_set_timeout in ssl/ssl_sess.c, and the commit only affects 3.2.0.

Some of the code seems to imply uint64_t for timeout values.

Another day where I'm AFK on and off...

主要語言
C
星號
276
分支
203
平均合併
1 天 7 小時
30 天內合併 PR
9

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

ruby/openssl 的其他 Issue

查看 ruby/openssl 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。