We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
malformed
1 parent 07d20b1 commit 68e4403Copy full SHA for 68e4403
src/server.rs
@@ -1478,7 +1478,7 @@ impl proto::Peer for Peer {
1478
// A :scheme is required, except CONNECT.
1479
if let Some(scheme) = pseudo.scheme {
1480
if is_connect && !has_protocol {
1481
- malformed!(":scheme in CONNECT");
+ malformed!("malformed headers: :scheme in CONNECT");
1482
}
1483
let maybe_scheme = scheme.parse();
1484
let scheme = maybe_scheme.or_else(|why| {
@@ -1501,7 +1501,7 @@ impl proto::Peer for Peer {
1501
1502
if let Some(path) = pseudo.path {
1503
1504
- malformed!(":path in CONNECT");
+ malformed!("malformed headers: :path in CONNECT");
1505
1506
1507
// This cannot be empty
0 commit comments