moq-net: the at-limit side of draft-22 MAX_REQUEST_UPDATES is untested

オープン 初心者向け
#10,709 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
75/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust

調査の方向性

rs/moq-net/src/ietf/request_update.rsから始めて、RenewalQueue::queueとそのoutstanding >= MAX_REQUEST_UPDATESチェックを調べてください。Draft22のユニットテストを追加し、告知された上限まではキューへの追加が成功し、それを超えると上限が適用されることを確認してください。rs/moq-net/src/ietf/subscriber.rsのsubscriberカバレッジが調整または削除されていることを確認し、関連するテストを実行してください。

索引モデルが issue の本文から書いたものです。

説明

The draft-22 MAX_REQUEST_UPDATES bound in rs/moq-net/src/ietf/request_update.rs (RenewalQueue::queue, outstanding >= MAX_REQUEST_UPDATES) is tested only from the over-the-limit side.

  • The publisher's renewals_at_the_advertised_limit_keep_the_request ran on Version::Draft18, which negotiates no limit, so it never exercised the boundary. https://github.com/moq-dev/moq/pull/10702 deletes it.
  • The subscriber's announce_renewals_at_the_advertised_limit_keep_the_announce (rs/moq-net/src/ietf/subscriber.rs) has the same problem: it also runs on Draft18.

If the comparison moved to the strict side, a conforming draft-22 peer holding exactly the advertised number of outstanding updates would have its session closed with TOO_MANY_REQUEST_UPDATES, and no test would fail.

Possible fix: a unit test on RenewalQueue::queue in request_update.rs covering both sides of the bound on Draft22. It would replace the two session-level tests and their 2000-poll loops. Switch the subscriber test to Draft22, or delete it.

(Written by Claude Opus 5.5 with high)

主要言語
Rust
スター
1.6k
フォーク
251
平均マージ
9時間 50分
マージ済み PR(30日)
804

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

moq-dev/moq のほかの issue

moq-dev/moq の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。