0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::rfc3896: Eliminate throwing expectations for port suffix grammars.

This commit is contained in:
Jason Volk 2022-06-28 22:36:46 -07:00
parent 2d3fe97fe9
commit 9914fe33d1

View file

@ -174,7 +174,7 @@ ircd::rfc3986::parser::ip4_literal
decltype(ircd::rfc3986::parser::ip4_remote)
ircd::rfc3986::parser::ip4_remote
{
ip4_literal >> -(':' > port)
ip4_literal >> -(':' >> port)
,"IPv4 remote"
};
@ -248,7 +248,7 @@ ircd::rfc3986::parser::ip6_literal
decltype(ircd::rfc3986::parser::ip6_remote)
ircd::rfc3986::parser::ip6_remote
{
ip6_literal >> -(':' > port)
ip6_literal >> -(':' >> port)
,"IPv6 literal"
};
@ -269,7 +269,7 @@ ircd::rfc3986::parser::ip_literal
decltype(ircd::rfc3986::parser::ip_remote)
ircd::rfc3986::parser::ip_remote
{
ip_literal >> -(':' > port)
ip_literal >> -(':' >> port)
,"IP literal"
};
@ -290,7 +290,7 @@ ircd::rfc3986::parser::domain
decltype(ircd::rfc3986::parser::hostport)
ircd::rfc3986::parser::hostport
{
domain >> -(':' > port)
domain >> -(':' >> port)
,"hostport"
};