@@ -602,7 +602,7 @@ mod tests {
602
602
target_hostname : Some ( "www.example.com" . to_string ( ) ) ,
603
603
target_port : HTTP_PORT ,
604
604
protocol : ProxyProtocol :: HTTP ,
605
- originator_alias_public_key : cryptde. public_key ( ) . clone ( ) ,
605
+ originator_public_key : cryptde. public_key ( ) . clone ( ) ,
606
606
} ;
607
607
608
608
StreamHandlerPoolReal :: process_package ( payload, None , Arc :: new ( Mutex :: new ( inner) ) ) ;
@@ -635,7 +635,7 @@ mod tests {
635
635
target_hostname : None ,
636
636
target_port : HTTP_PORT ,
637
637
protocol : ProxyProtocol :: HTTP ,
638
- originator_alias_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
638
+ originator_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
639
639
} ;
640
640
let write_parameters = Arc :: new ( Mutex :: new ( vec ! [ ] ) ) ;
641
641
let tx_to_write = Box :: new (
@@ -697,7 +697,7 @@ mod tests {
697
697
target_hostname : Some ( String :: from ( "that.try" ) ) ,
698
698
target_port : HTTP_PORT ,
699
699
protocol : ProxyProtocol :: HTTP ,
700
- originator_alias_public_key : originator_key,
700
+ originator_public_key : originator_key,
701
701
} ;
702
702
let package = ExpiredCoresPackage :: new (
703
703
SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -766,7 +766,7 @@ mod tests {
766
766
target_hostname : Some ( String :: from ( "3.4.5.6:80" ) ) ,
767
767
target_port : HTTP_PORT ,
768
768
protocol : ProxyProtocol :: HTTP ,
769
- originator_alias_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
769
+ originator_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
770
770
} ;
771
771
let package = ExpiredCoresPackage :: new (
772
772
SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -875,7 +875,7 @@ mod tests {
875
875
target_hostname : Some ( String :: from ( "3.4.5.6" ) ) ,
876
876
target_port : HTTP_PORT ,
877
877
protocol : ProxyProtocol :: HTTP ,
878
- originator_alias_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
878
+ originator_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
879
879
} ;
880
880
let package = ExpiredCoresPackage :: new (
881
881
SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -982,7 +982,7 @@ mod tests {
982
982
target_hostname : None ,
983
983
target_port : HTTP_PORT ,
984
984
protocol : ProxyProtocol :: HTTP ,
985
- originator_alias_public_key : originator_key,
985
+ originator_public_key : originator_key,
986
986
} ;
987
987
let package = ExpiredCoresPackage :: new (
988
988
SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -1051,7 +1051,7 @@ mod tests {
1051
1051
target_hostname : Some ( String :: from ( "that.try" ) ) ,
1052
1052
target_port : HTTP_PORT ,
1053
1053
protocol : ProxyProtocol :: HTTP ,
1054
- originator_alias_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
1054
+ originator_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
1055
1055
} ;
1056
1056
let package = ExpiredCoresPackage :: new (
1057
1057
SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -1164,7 +1164,7 @@ mod tests {
1164
1164
target_hostname : Some ( String :: from ( "that.try" ) ) ,
1165
1165
target_port : HTTP_PORT ,
1166
1166
protocol : ProxyProtocol :: HTTP ,
1167
- originator_alias_public_key : originator_key,
1167
+ originator_public_key : originator_key,
1168
1168
} ;
1169
1169
let package = ExpiredCoresPackage :: new (
1170
1170
SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -1254,7 +1254,7 @@ mod tests {
1254
1254
target_hostname : Some ( String :: from ( "that.try" ) ) ,
1255
1255
target_port : HTTP_PORT ,
1256
1256
protocol : ProxyProtocol :: HTTP ,
1257
- originator_alias_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
1257
+ originator_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
1258
1258
} ;
1259
1259
1260
1260
let package = ExpiredCoresPackage :: new (
@@ -1367,7 +1367,7 @@ mod tests {
1367
1367
target_hostname : Some ( String :: from ( "that.try" ) ) ,
1368
1368
target_port : HTTP_PORT ,
1369
1369
protocol : ProxyProtocol :: HTTP ,
1370
- originator_alias_public_key : originator_key,
1370
+ originator_public_key : originator_key,
1371
1371
} ;
1372
1372
let package = ExpiredCoresPackage :: new (
1373
1373
SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -1429,7 +1429,7 @@ mod tests {
1429
1429
target_hostname : Some ( String :: from ( "that.try" ) ) ,
1430
1430
target_port : HTTP_PORT ,
1431
1431
protocol : ProxyProtocol :: HTTP ,
1432
- originator_alias_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
1432
+ originator_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
1433
1433
} ;
1434
1434
let package = ExpiredCoresPackage :: new (
1435
1435
SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -1497,7 +1497,7 @@ mod tests {
1497
1497
target_hostname : None ,
1498
1498
target_port : HTTP_PORT ,
1499
1499
protocol : ProxyProtocol :: HTTP ,
1500
- originator_alias_public_key : PublicKey :: new ( & b"booga" [ ..] ) ,
1500
+ originator_public_key : PublicKey :: new ( & b"booga" [ ..] ) ,
1501
1501
} ;
1502
1502
let package = ExpiredCoresPackage :: new (
1503
1503
SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
0 commit comments