File: ephemeral-port-support-adea94cb8f6088c6.yaml

package info (click to toggle)
pytest-httpserver 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 908 kB
  • sloc: python: 2,382; makefile: 77; sh: 21
file content (13 lines) | stat: -rw-r--r-- 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
---

features:
  - |
    Support ephemeral port. This can be used by specify 0 as the port number
    to the HTTPServer instance. In such case, an unused port will be picked up
    and the server will start listening on that port. Querying the port attribute
    after server start reveals the real port where the server is actually listening.

upgrade:
  - |
    The default port has been changed to 0, which results that the server will be staring
    on an ephemeral port.