[WIP/RFC v4 0/5] Support abstract Unix sockets
alx.manpages at gmail.com
Tue Aug 23 23:00:26 UTC 2022
I'll resend v4 in a moment, since it didn't arrive to the list.
On 8/23/22 23:18, Alejandro Colomar wrote:
> Patch set ready for review.
> Both 'listen' and 'proxy_pass' work fine, with the only caveat
> that writing a NUL character in the nginx.conf file is not the
> friendliest interface. I will add a few more patches to make '@'
> a synonym for NUL, as many other projects do.
> However, this patch set can be applied on its own if you prefer
> to make them separate, since this one adds the feature in its
> simplest way, and the upcoming patches are just making it more
> user friendly. Please advice on your preferred way of proceeding.
> - Complete rewrite from scratch (v1 was a month ago).
> - Fix bugs in listener socket [Andrew Clayton].
> - This version of the patch set wasn't sent to the list.
> - Reorder patches.
> - Improve commit logs.
> Alejandro Colomar (5):
> Optimize string copy in Unix sockets.
> Use a minimal socklen.
> Don't add a trailing '\0' for abstract Unix domain sockets.
> Log abstract Unix domain sockets with a leading '@'.
> Don't try to chmod(2) abstract Unix domain sockets.
> src/core/ngx_connection.c | 28 ++++++++++++++++------------
> src/core/ngx_inet.c | 33 +++++++++++++++++++++++++++------
> 2 files changed, 43 insertions(+), 18 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the nginx-devel