mirror of
https://github.com/moparisthebest/spdylay
synced 2025-01-02 09:28:03 -05:00
Fixed the bug that port number in URI is not parsed properly.
This commit is contained in:
parent
5012f177d0
commit
7f41ec03bd
@ -214,6 +214,7 @@ bool parse(UriStruct& result, const std::string& uri)
|
||||
} else if(65535 < tempPort) {
|
||||
return false;
|
||||
}
|
||||
result.port = tempPort;
|
||||
}
|
||||
if(result.ipv6LiteralAddress) {
|
||||
result.host.assign(hostPortFirst+1, hostLast-1);
|
||||
|
Loading…
Reference in New Issue
Block a user