]> granicus.if.org Git - icinga2/commit
Fix newline terminator for bulk requests in ElasticsearchWriter
authorMichael Friedrich <michael.friedrich@icinga.com>
Thu, 7 Dec 2017 10:11:03 +0000 (11:11 +0100)
committerMichael Friedrich <michael.friedrich@icinga.com>
Thu, 7 Dec 2017 10:11:03 +0000 (11:11 +0100)
commitf8e102c15ab6a93a88ec7f91b2f6148c2efe56a6
treee4f55671b732eac66b45d8a0dc8814c4a421f283
parentd91e5cd05442f3f896f50dfaff0a5507f866f9d6
Fix newline terminator for bulk requests in ElasticsearchWriter

This enables compatibility with 6.x.

This commit also fixes an incorrect HTTP response parsing
which could lead into false positives.

Analysis and fix in https://github.com/Icinga/icinga2/issues/5795#issuecomment-349920587

fixes #5795
lib/perfdata/elasticsearchwriter.cpp