Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hyperium/h2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0447e601af5199e6016ff0ad9ec128ba426b783d
Choose a base ref
..
head repository: hyperium/h2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 74828202f2bf138778fdbc9a75ce891fe0419a54
Choose a head ref
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/server.rs
3 changes: 2 additions & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
@@ -1398,7 +1398,8 @@ impl proto::Peer for Peer {
// authority field. If it's a local path and exists, then we do not error in that case
// and assume an UDS.
if !Path::new(authority.as_str()).exists() {
let maybe_authority = uri::Authority::from_maybe_shared(authority.clone().into_inner());
let maybe_authority =
uri::Authority::from_maybe_shared(authority.clone().into_inner());
parts.authority = Some(maybe_authority.or_else(|why| {
malformed!(
"malformed headers: malformed authority ({:?}): {}",