You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// build next-hop url with loop detection and max subsequent nodes check
@@ -118,7 +114,7 @@ where
118
114
mod tests {
119
115
usesuper::*;
120
116
usecrate::hyper_client::HttpClient;
121
-
use hyper::{body::Incoming,HeaderMap};
117
+
use hyper::{HeaderMap,body::Incoming};
122
118
use std::sync::Arc;
123
119
124
120
#[test]
@@ -179,7 +175,10 @@ mod tests {
179
175
180
176
let url = Url::parse("https://example1.com/proxy?targethost=example2.com&targetpath=/dns-query&relayhost[1]=example3.com&relaypath[1]=/proxy&relayhost[2]=example4.com&relaypath[2]=/proxy").unwrap();
181
177
let next_hop_url = inner.build_nexthop_url(&url).unwrap();
let url = Url::parse("https://example1.com/proxy?targethost=example2.com&targetpath=/dns-query&relayhost[1]=example3.com&relaypath[1]=/proxy&relayhost[2]=example4.com&relaypath[2]=/proxy&relayhost[3]=example5.com&relaypath[3]=/proxy").unwrap();
0 commit comments