annotate contrib/vim/ftdetect/nginx.vim @ 8975:000b9b048e0c quic

QUIC: fixed chain returned from ngx_quic_write_chain(). Previously, when input ended on a QUIC buffer boundary, input chain was not advanced to the next buffer. As a result, ngx_quic_write_chain() returned a chain with an empty buffer instead of NULL. This broke HTTP write filter, preventing it from closing the HTTP request and eventually timing out. Now input chain is always advanced to a buffer that has data, before checking QUIC buffer boundary condition.
author Roman Arutyunyan <arut@nginx.com>
date Tue, 25 Jan 2022 09:45:50 +0300
parents f38043bd15f5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5460
f38043bd15f5 Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff changeset
1 au BufRead,BufNewFile *.nginx set ft=nginx
f38043bd15f5 Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff changeset
2 au BufRead,BufNewFile */etc/nginx/* set ft=nginx
f38043bd15f5 Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff changeset
3 au BufRead,BufNewFile */usr/local/nginx/conf/* set ft=nginx
f38043bd15f5 Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff changeset
4 au BufRead,BufNewFile nginx.conf set ft=nginx