From bd57656af65606aa1f6825e05ef144fa82416075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Klaehn?= Date: Mon, 25 Mar 2024 17:22:56 +0200 Subject: [PATCH] chore(iroh-bytes): Increase iroh-bytes ALPN (#2125) ## Description chore(iroh-bytes): Increase iroh-bytes ALPN this is because there was a bao-tree bug with range requests that resulted in less than optimal encoding for small ranges. ## Notes & open questions ## Change checklist - [ ] Self-review. - [ ] Documentation updates if relevant. - [ ] Tests if relevant. --- iroh-bytes/src/protocol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iroh-bytes/src/protocol.rs b/iroh-bytes/src/protocol.rs index 9b5c6913c0..78c7bfa396 100644 --- a/iroh-bytes/src/protocol.rs +++ b/iroh-bytes/src/protocol.rs @@ -351,7 +351,7 @@ use crate::Hash; pub const MAX_MESSAGE_SIZE: usize = 1024 * 1024 * 100; /// The ALPN used with quic for the iroh bytes protocol. -pub const ALPN: &[u8] = b"/iroh-bytes/3"; +pub const ALPN: &[u8] = b"/iroh-bytes/4"; #[derive(Deserialize, Serialize, Debug, PartialEq, Eq, Clone, From)] /// A request to the provider