mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 23:11:01 +00:00
net/quic: Use a custom ALPN string
`h3` does not make sense as the default ALPN, as there likely isn't going to be a HTTP/3 application layer, especially as our transport is unidirectional for now. Use a custom string `gst-quinn` for now. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1036>
This commit is contained in:
parent
22c6a98914
commit
a306b1ce94
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ static DEFAULT_CLIENT_PORT: u16 = 5001;
|
||||||
* Other well-known values are listed in the at IANA registry at
|
* Other well-known values are listed in the at IANA registry at
|
||||||
* <https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids>.
|
* <https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids>.
|
||||||
*/
|
*/
|
||||||
const DEFAULT_ALPN: &str = "h3";
|
const DEFAULT_ALPN: &str = "gst-quinn";
|
||||||
const DEFAULT_TIMEOUT: u32 = 15;
|
const DEFAULT_TIMEOUT: u32 = 15;
|
||||||
const DEFAULT_SECURE_CONNECTION: bool = true;
|
const DEFAULT_SECURE_CONNECTION: bool = true;
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ static DEFAULT_SERVER_PORT: u16 = 5000;
|
||||||
* Other well-known values are listed in the at IANA registry at
|
* Other well-known values are listed in the at IANA registry at
|
||||||
* <https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids>.
|
* <https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids>.
|
||||||
*/
|
*/
|
||||||
const DEFAULT_ALPN: &str = "h3";
|
const DEFAULT_ALPN: &str = "gst-quinn";
|
||||||
const DEFAULT_TIMEOUT: u32 = 15;
|
const DEFAULT_TIMEOUT: u32 = 15;
|
||||||
const DEFAULT_PRIVATE_KEY_TYPE: QuicPrivateKeyType = QuicPrivateKeyType::Pkcs8;
|
const DEFAULT_PRIVATE_KEY_TYPE: QuicPrivateKeyType = QuicPrivateKeyType::Pkcs8;
|
||||||
const DEFAULT_SECURE_CONNECTION: bool = true;
|
const DEFAULT_SECURE_CONNECTION: bool = true;
|
||||||
|
|
Loading…
Reference in a new issue