Skip to content

[#256] Port number 65535 is valid for using #268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dmitry-lipetsk
Copy link
Collaborator

This patch corrects PortManager__Generic:

  • Valid port range is [1024, 65535]. Old range was [1024, 65535)
  • Strange (copy&paste) code for self._available_ports initialization is corrected
  • Strange (copy&paste) code for self._reserved_ports initialization is corrected
  • New asserts are added

Closes #256

This patch corrects PortManager__Generic:
 - Valid port range is [1024, 65535]. Old range was [1024, 65535)
 - Strange (copy&paste) code for self._available_ports initialization is corrected
 - Strange (copy&paste) code for self._reserved_ports initialization is corrected
 - New asserts are added
@dmitry-lipetsk dmitry-lipetsk merged commit a7662d1 into postgrespro:master Jun 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Port number 65535 is valid for using
1 participant