]> git.kaiwu.me - nginx.git/commit
HTTP/2: invalid connection preface logging (ticket #1981).
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 25 May 2020 15:33:42 +0000 (18:33 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 25 May 2020 15:33:42 +0000 (18:33 +0300)
commit4056ce4f4ee4d80d41c56af8c1b4fd41b76144c8
treef3cd875f08737c2f31b281b2f20736f29c4130d7
parent9b87626b0bdd0e6c87d76f1a50302ca9e3df2fc1
HTTP/2: invalid connection preface logging (ticket #1981).

Previously, invalid connection preface errors were only logged at debug
level, providing no visible feedback, in particular, when a plain text
HTTP/2 listening socket is erroneously used for HTTP/1.x connections.
Now these are explicitly logged at the info level, much like other
client-related errors.
src/http/v2/ngx_http_v2.c