[Libguestfs] [xml] Why does libxml2 limit port numbers to 99, 999, 999?

Richard W.M. Jones rjones at redhat.com
Sat Oct 17 10:29:56 UTC 2020


On Sat, Oct 17, 2020 at 11:24:31AM +0100, Richard W.M. Jones via xml wrote:
> The problem is that libxml2 arbitrarily limits port numbers to
> 999,999,999.  I don't see any support for this limit in RFC 3986 [2].

Actually I miscounted the number of 9's.  The limit is 99,999,999.
The rest still applies.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




More information about the Libguestfs mailing list