Skip to content

Commit

Permalink
TODO: Use "random" ports for the test servers
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Mar 22, 2020
1 parent 21b3893 commit 4b355dd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/TODO
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@
20.6 Use the RFC6265 test suite
20.7 Support LD_PRELOAD on macOS
20.8 Run web-platform-tests url tests
20.9 Use "random" ports for the test servers

21. Next SONAME bump
21.1 http-style HEAD output for FTP
Expand Down Expand Up @@ -1096,6 +1097,17 @@ that doesn't exist on the server, just like --ftp-create-dirs.

See https://github.com/curl/curl/issues/4477

20.9 Use "random" ports for the test servers

Instead of insisting and using fixed port numbers for the tests (even though
they can be changed with a switch), consider letting each server pick a
random available one at start-up, store that info in a file and let the test
suite use that.

We could then remove the "check that it is our server that's running"-check
and we would immediately detect when we write tests wrongly to use hard-coded
port numbers.

21. Next SONAME bump

21.1 http-style HEAD output for FTP
Expand Down

0 comments on commit 4b355dd

Please sign in to comment.