Content-Length: 268171 | pFad | http://github.com/postgrespro/testgres/issues/256

1C Port number 65535 is valid for using · Issue #256 · postgrespro/testgres · GitHub
Skip to content

Port number 65535 is valid for using #256

Open
@dmitry-lipetsk

Description

@dmitry-lipetsk

Testgres cannot allocate a port number 65535, because it uses the range(1024, 65535):

self._available_ports: typing.Set[int] = set(range(1024, 65535))

Image

I think we have to allow usage of 65535 port number to enlarge our valid range of ports )

The fix is trivial - set ( range ( 1024 , 65536 )

Another problems in this code will be fixed, too.

See also

https://www.ncftp.com/ncftpd/doc/misc/ephemeral_ports.html

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: http://github.com/postgrespro/testgres/issues/256

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy