- commit
- 21066e124bff318604acb17f99b712d23e81bd1e
- parent
- 3f751b7b2c8a7e16119556e6246973805961d227
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2026-10-24 14:03
socket activation: deduce socketopt from fd also do not duplicate fd unnecessarily
Diffstat
| M | dropin.py | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/dropin.py b/dropin.py
@@ -464,7 +464,7 @@ if __name__ == '__main__': 464 464 shutdown_timer = Timer(loop, args.shutdown, sys.exit) 465 465 app.middlewares.append(shutdown_middleware) 466 466467 -1 with socket.fromfd(3, socket.AF_INET, socket.SOCK_STREAM) as sock:-1 467 with socket.socket(fileno=3) as sock: 468 468 web.run_app(app, loop=loop, sock=sock) 469 469 else: 470 470 web.run_app(app, loop=loop, host='localhost', port=args.port)