1
0
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:
Nikolay Kim
2019-03-15 11:37:51 -07:00
parent b290273e81
commit 27c28d6597
6 changed files with 23 additions and 4 deletions

View File

@@ -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,