From 657b570a939e7fd9512400d1781497e9cbe99798 Mon Sep 17 00:00:00 2001 From: Arlo Date: Wed, 8 Feb 2023 02:52:22 +0000 Subject: [PATCH 1/3] Added support for quic v1 --- src/NetworkProtocol.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/NetworkProtocol.cs b/src/NetworkProtocol.cs index f142bea4..86bc808c 100644 --- a/src/NetworkProtocol.cs +++ b/src/NetworkProtocol.cs @@ -33,7 +33,8 @@ static NetworkProtocol() NetworkProtocol.Register(); NetworkProtocol.Register(); NetworkProtocol.RegisterAlias(); - NetworkProtocol.Register(); + NetworkProtocol.Register();~ + NetworkProtocol.Register(); NetworkProtocol.Register(); NetworkProtocol.Register(); NetworkProtocol.Register(); @@ -397,6 +398,12 @@ class QuicNetworkProtocol : ValuelessNetworkProtocol public override uint Code { get { return 460; } } } + class QuicV1NetworkProtocol : ValuelessNetworkProtocol + { + public override string Name { get { return "quic-v1"; } } + public override uint Code { get { return 461; } } + } + class HttpNetworkProtocol : ValuelessNetworkProtocol { public override string Name { get { return "http"; } } From 4c98274b0c0c811a139c499ea36e4537e4b5f4bb Mon Sep 17 00:00:00 2001 From: Arlo Date: Wed, 8 Feb 2023 02:53:04 +0000 Subject: [PATCH 2/3] Fixed typo --- src/NetworkProtocol.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NetworkProtocol.cs b/src/NetworkProtocol.cs index 86bc808c..dab60abe 100644 --- a/src/NetworkProtocol.cs +++ b/src/NetworkProtocol.cs @@ -33,7 +33,7 @@ static NetworkProtocol() NetworkProtocol.Register(); NetworkProtocol.Register(); NetworkProtocol.RegisterAlias(); - NetworkProtocol.Register();~ + NetworkProtocol.Register(); NetworkProtocol.Register(); NetworkProtocol.Register(); NetworkProtocol.Register(); From 0803513a81330f474b47989f536052e2d8513e61 Mon Sep 17 00:00:00 2001 From: Arlo Date: Wed, 8 Feb 2023 02:54:48 +0000 Subject: [PATCH 3/3] Version bump --- src/IpfsCore.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IpfsCore.csproj b/src/IpfsCore.csproj index 4c952282..66ac49af 100644 --- a/src/IpfsCore.csproj +++ b/src/IpfsCore.csproj @@ -9,7 +9,7 @@ true - 0.0.2 + 0.0.3 $(Version)