]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
modules/http: added an error handler to HTTP streams
authorMarek Vavruša <mvavrusa@cloudflare.com>
Mon, 2 Apr 2018 23:42:42 +0000 (16:42 -0700)
committerMarek Vavruša <mvavrusa@cloudflare.com>
Fri, 7 Sep 2018 17:45:21 +0000 (10:45 -0700)
commit3cb47df9d27005dc9cb8887c5f0cdb5e648073fc
tree1a0d3ea93f69b7eda3c55c763e5ad841ce61e678
parentb0fab90cb21770889c8d8565b3e91a3d555b0886
modules/http: added an error handler to HTTP streams

Instead of throwing an error in the HTTP handler, server should log it.
This covers errors like client disconnecting before reading the response
body etc.
modules/http/http.lua