Skip to content

Commit

Permalink
chore(iroh-bytes): Increase iroh-bytes ALPN (#2125)
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
rklaehn authored Mar 25, 2024
1 parent cdfde7d commit bd57656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iroh-bytes/src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd57656

Please sign in to comment.