summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2025-10-16 15:22:56 +0000
committerSergey Kandaurov <s.kandaurov@f5.com>2026-03-19 01:13:51 +0400
commit920dc099c130e0ea23eb36becd157a95901aa5a2 (patch)
tree087aa0949e69c5196c325baa49f38603e7a8a1fc /contrib
parenta29476464cc86092135401bdcad91e4d38ac6b6d (diff)
downloadnginx-920dc099c130e0ea23eb36becd157a95901aa5a2.tar.gz
nginx-920dc099c130e0ea23eb36becd157a95901aa5a2.tar.bz2
The "multipath" parameter of the "listen" directive.
When configured, it enables Multipath TCP support on a listen socket. As of now it works on Linux starting with Linux 5.6 and glibc 2.32, where it is enabled with an IPPROTO_MPTCP socket(2) protocol. To avoid EADDRINUSE errors in bind() and listen() when transitioning between sockets with different protocols, SO_REUSEPORT is set on both sockets. See f7f1607bf for potential implications. Based on previous work by Maxime Dourov and Anthony Doeraene.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/vim/syntax/nginx.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/vim/syntax/nginx.vim b/contrib/vim/syntax/nginx.vim
index 29eef7a23..ea7c58464 100644
--- a/contrib/vim/syntax/nginx.vim
+++ b/contrib/vim/syntax/nginx.vim
@@ -65,7 +65,7 @@ syn match ngxListenComment '#.*$'
\ contained
\ nextgroup=@ngxListenParams skipwhite skipempty
syn keyword ngxListenOptions contained
- \ default_server ssl quic proxy_protocol
+ \ default_server ssl quic proxy_protocol multipath
\ setfib fastopen backlog rcvbuf sndbuf accept_filter deferred bind
\ ipv6only reuseport so_keepalive
\ nextgroup=@ngxListenParams skipwhite skipempty