Skip to content

Commit bd57656

Browse files
authored
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 <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist - [ ] Self-review. - [ ] Documentation updates if relevant. - [ ] Tests if relevant.
1 parent cdfde7d commit bd57656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iroh-bytes/src/protocol.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ use crate::Hash;
351351
pub const MAX_MESSAGE_SIZE: usize = 1024 * 1024 * 100;
352352

353353
/// The ALPN used with quic for the iroh bytes protocol.
354-
pub const ALPN: &[u8] = b"/iroh-bytes/3";
354+
pub const ALPN: &[u8] = b"/iroh-bytes/4";
355355

356356
#[derive(Deserialize, Serialize, Debug, PartialEq, Eq, Clone, From)]
357357
/// A request to the provider

0 commit comments

Comments
 (0)