Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
SocketUtils fails to find a port when providing only two ports [SPR-14211] #18785
when trying to find an available port between two ports, the "maxport" is exclusive (meaning - that if I ask for a port with minPort=1024, maxPort=1025, the util will check only for the availability of port 1024.
Nowhere in the documentation could I find any mention of the fact that the maxport is exclusive (plus, if maxport and minport are provided, it makes no sense for it to be exclusive).
Affects: 4.2.5, 4.3 RC1