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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user