start: name the requested --http-host/--http-port in the opening line

The first line was hardcoded to http://127.0.0.1:8080 while the flags
were passed through, so ./start.sh --http-host 10.0.28.161 printed
127.0.0.1 although the server bound 10.0.28.161 (its own listening banner
named it).  Both start scripts now parse --http-host/--http-port (space
and = forms, the last value wins like argparse) and echo the effective
address; start.bat parses with shift (%* is unaffected, so the server
still receives every argument).

Bump 3.38.2 (server, pyproject, PWA header, sw simple-v483) and add the
CHANGELOG entry.

Tests: tests/test_pcsc_startup.py pins the parsing/echo (2 new).
1090 Python + 1075 frontend.
This commit is contained in:
catarrh committed 2026-10-25 03:25:22 +03:00
1 parent 393b1098ce
commit 62c5b4e1a9
8 files changed
+81 -9

No files matched your search

+13
View File
@@ -9,6 +9,19 @@ every change carries a descriptive commit message.
## [Unreleased]
## [3.38.2] — 2026-10-25
### Fixed
- **The start scripts name the address they were asked to bind.** The opening
`Starting pysim-simple-server on http://127.0.0.1:8080` line was hardcoded
while `--http-host`/`--http-port` were passed through to the server:
`./start.sh --http-host 10.0.28.161` bound correctly (the server's own
`listening on` banner named the address), but the first line still said
127.0.0.1. `start.sh` and `start.bat` now parse both flags (space and `=`
forms, the last value wins like argparse) and echo the effective address;
the defaults are unchanged.
## [3.38.1] — 2026-10-25
### Performance