Fix years-old bug not listening to bind address in debug version of proxy.

This commit is contained in:
Jennifer Taylor
2026-02-27 00:58:31 +00:00
parent 48d5a12380
commit 56c80a4f1c
2 changed files with 3 additions and 3 deletions

View File

@@ -408,7 +408,7 @@ class TXP2File(TrackedCoverage, VerboseOutput):
if (control & 0x01) != 0:
if comp_i >= comp_len:
return decomp
decomp.append(comp[comp_i])
window[window_i] = comp[comp_i]
window_i += 1
@@ -421,7 +421,7 @@ class TXP2File(TrackedCoverage, VerboseOutput):
if (len(decomp) + slide_len) > decomp_len:
slide_len = decomp_len - len(decomp)
while slide_len > 0:
decomp.append(window[slide_off])
window[window_i] = window[slide_off]

View File

@@ -342,4 +342,4 @@ if __name__ == "__main__":
if args.config is not None:
load_proxy_config(args.config)
app.run(host="0.0.0.0", port=args.port, debug=True)
app.run(host=args.address, port=args.port, debug=True)