From ad694463771c07f64cf6773555425358a184fb38 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Mon, 16 Apr 2018 18:49:42 +0900 Subject: [PATCH] improve API documentation for opening new streams --- interface.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface.go b/interface.go index 2c9c47955..3ab64afdc 100644 --- a/interface.go +++ b/interface.go @@ -121,6 +121,8 @@ type Session interface { AcceptUniStream() (ReceiveStream, error) // OpenStream opens a new bidirectional QUIC stream. // It returns a special error when the peer's concurrent stream limit is reached. + // There is no signaling to the peer about new streams: + // The peer can only accept the stream after data has been sent on the stream. // TODO(#1152): Enable testing for the special error OpenStream() (Stream, error) // OpenStreamSync opens a new bidirectional QUIC stream.