mirror of
https://github.com/fafhrd91/actix-net
synced 2025-08-21 06:55:37 +02:00
Fix error handling for single address
This commit is contained in:
@@ -26,6 +26,7 @@ fn port(scheme: Option<&str>) -> Option<u16> {
|
||||
"wss" => Some(443),
|
||||
"amqp" => Some(5672),
|
||||
"amqps" => Some(5671),
|
||||
"sb" => Some(5671),
|
||||
"mqtt" => Some(1883),
|
||||
"mqtts" => Some(8883),
|
||||
_ => None,
|
||||
|
Reference in New Issue
Block a user