Masafumi Yokoyama
null+****@clear*****
Tue Sep 27 17:05:32 JST 2016
Masafumi Yokoyama 2016-09-27 17:05:32 +0900 (Tue, 27 Sep 2016) New Revision: a6b6285ffec1e4d4f16928b2cb742fb3b8491b1f https://github.com/groonga/fluent-plugin-groonga/commit/a6b6285ffec1e4d4f16928b2cb742fb3b8491b1f Merged 0163dec: Merge pull request #7 from groonga/return-error-response-for-invalid-uri Message: Rescue URI::InvalidURIError to prevent hand up for invalid URI Modified files: lib/fluent/plugin/in_groonga.rb Modified: lib/fluent/plugin/in_groonga.rb (+1 -1) =================================================================== --- lib/fluent/plugin/in_groonga.rb 2016-09-02 17:08:15 +0900 (05ee2cb) +++ lib/fluent/plugin/in_groonga.rb 2016-09-27 17:05:32 +0900 (6163962) @@ -222,7 +222,7 @@ module Fluent def on_read(data) begin @request_handler << data - rescue HTTP::Parser::Error + rescue HTTP::Parser::Error, URI::InvalidURIError $log.error("[input][groonga][error] " + "failed to parse HTTP request:", :error => $!.to_s) -------------- next part -------------- HTML����������������������������...Download