unix-socket fixes:

* support x-forwarded-for
* option to specify socket permissions and group
* in containers, avoid collision during restart
* add --help-bind with examples
This commit is contained in:
ed
2024-08-14 04:47:10 +00:00
parent cdd0794d6e
commit 687df2fabd
4 changed files with 59 additions and 6 deletions

View File

@@ -365,7 +365,7 @@ class HttpSrv(object):
cip = cip[7:]
addr = (cip, saddr[1])
else:
addr = (ip, sck.fileno())
addr = ("127.8.3.7", sck.fileno())
except (OSError, socket.error) as ex:
if self.stopping:
break