Package - python3-ephemeral-port-reserve

Package:  python3-ephemeral-port-reserve
apt-get install python3-ephemeral-port-reserve
Documentations in package:

Primary informations

Download package: http://deb.debian.org/debian/pool/bullseye-zed-backports-nochange/main/p/python-ephemeral-port-reserve/python3-ephemeral-port-reserve_1.1.4-2~bpo11+1_all.deb (Size: 5.4KiB)

PropertyValue
Packagepython3-ephemeral-port-reserve
Sourcepython-ephemeral-port-reserve
Version1.1.4-2~bpo11+1
Architectureall
MaintainerDebian Python Team
Installed-Size26
Dependspython3:any
Filenamepool/bullseye-zed-backports-nochange/main/p/python-ephemeral-port-reserve/python3-ephemeral-port-reserve_1.1.4-2~bpo11+1_all.deb
Size5528
MD5sum93e461b1ba4a8c1043cfe7003718dea1
SHA10993645b536bda9390393989b700386beac1d225
SHA256aba05487d5dcf2162951024e325a058cba82315af8603eafcf85c800a4d0e5f8
Sectionpython
Priorityoptional
Homepagehttps://github.com/Yelp/ephemeral-port-reserve/
Descriptionbinds to an ephemeral port, force it into the TIME_WAIT state, and unbind it Sometimes you need a networked program to bind to a port that can't be hard-coded. Generally this is when you want to run several of them in parallel; if they all bind to port 8080, only one of them can succeed. . The usual solution is the "port 0 trick". If you bind to port 0, your kernel will find some arbitrary high-numbered port that's unused and bind to that. Afterward you can query the actual port that was bound to if you need to use the port number elsewhere. However, there are cases where the port 0 trick won't work. For example, mysqld takes port 0 to mean "the port configured in my.cnf". Docker can bind your containers to port 0, but uses its own implementation to find a free port which races and fails in the face of parallelism. . ephemeral-port-reserve helps you using port 0.
Description-md5

Files in package

  • /usr/bin/ephemeral-port-reserve
  • /usr/lib/python3/dist-packages/ephemeral_port_reserve-1.1.4.egg-info/PKG-INFO
  • /usr/lib/python3/dist-packages/ephemeral_port_reserve-1.1.4.egg-info/dependency_links.txt
  • /usr/lib/python3/dist-packages/ephemeral_port_reserve-1.1.4.egg-info/entry_points.txt
  • /usr/lib/python3/dist-packages/ephemeral_port_reserve-1.1.4.egg-info/top_level.txt
  • /usr/lib/python3/dist-packages/ephemeral_port_reserve.py
  • /usr/share/doc/python3-ephemeral-port-reserve/changelog.Debian.gz
  • /usr/share/doc/python3-ephemeral-port-reserve/copyright