QUIC: Documentation fix

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20765)
This commit is contained in:
Hugo Landau 2023-05-11 12:38:23 +01:00
parent de521629c1
commit 2b5a546ce1
1 changed files with 9 additions and 10 deletions

View File

@ -5,7 +5,7 @@
SSL_set_incoming_stream_policy, SSL_INCOMING_STREAM_POLICY_AUTO,
SSL_INCOMING_STREAM_POLICY_ACCEPT,
SSL_INCOMING_STREAM_POLICY_REJECT - manage the QUIC incoming stream
rejection policy
policy
=head1 SYNOPSIS
@ -20,17 +20,16 @@ rejection policy
=head1 DESCRIPTION
SSL_set_incoming_stream_policy() policy changes the incoming stream
rejection policy for a QUIC connection. Depending on the policy configured,
OpenSSL QUIC may automatically reject incoming streams initiated by the peer.
This is intended to ensure that legacy applications using single-stream
operation with a default stream on a QUIC connection SSL object are not passed
remotely-initiated streams by a peer which those applications are not prepared
to handle.
SSL_set_incoming_stream_policy() policy changes the incoming stream policy for a
QUIC connection. Depending on the policy configured, OpenSSL QUIC may
automatically reject incoming streams initiated by the peer. This is intended to
ensure that legacy applications using single-stream operation with a default
stream on a QUIC connection SSL object are not passed remotely-initiated streams
by a peer which those applications are not prepared to handle.
I<app_error_code> is an application error code which will be used in any QUIC
B<STOP_SENDING> or B<RESET_STREAM> frames generated to implement the rejection
policy. The default application error code is 0.
B<STOP_SENDING> or B<RESET_STREAM> frames generated to implement the policy. The
default application error code is 0.
The valid values for I<policy> are: