Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

quic: Add mechanism similar to waitUntilAvailable to create(Bi|Uni)directionalStream

オープン
#65,321 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
javascript, node.js
領域
api, networking

調査の方向性

Issue にリンクされている WebTransport 仕様と、既存の createBidirectionalStream および createUnidirectionalStream エントリポイントから始めてください。提案されている waitUntilAvailable の動作を、現在のストリーム番号のフロー制御処理および予算クエリという代替案と比較してください。両方向のストリームに対する合意済みの API があり、フロー制御ウィンドウが枯渇している場合と利用可能な場合を網羅するテストがあれば完了です。

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

説明

quic

The webtransport W3 spec allows to pass the option waitUntilAvailable to functions creating streams,
see e,g, here for a bidi stream:

https://www.w3.org/TR/webtransport/#dom-webtransport-createbidirectionalstream

The idea is that if the stream number flow control is exhausted, you have the option for waitUntilAvailable, which if it is set to false throw and tells the caller, that the flow control window for streams is exhausted.

(Alternatively, we can also supply a property to query the current budget).

The same is true for unidirectional stream.

@jasnell @pimterry
What would you think is a good api for this?
P.S: After the stream and session data flow control handling got attention. I will probably after this is decided, activate my stream number flow control tests on webtransport. As the stream number flow control is a another playing field that can easily lead to stalls. (Though I do not know if something is wrong.....)

主要言語
JavaScript
スター
122k
フォーク
37.4k
平均マージ
4日 4時間
マージ済み PR(30日)
276

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

nodejs/node のほかの issue

nodejs/node の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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