OpenSearch/modules
Jason Tedor 4ef3de40bc
Fix handling of bad requests (#29249)
Today we have a few problems with how we handle bad requests:
 - handling requests with bad encoding
 - handling requests with invalid value for filter_path/pretty/human
 - handling requests with a garbage Content-Type header

There are two problems:
 - in every case, we give an empty response to the client
 - in most cases, we leak the byte buffer backing the request!

These problems are caused by a broader problem: poor handling preparing
the request for handling, or the channel to write to when the response
is ready. This commit addresses these issues by taking a unified
approach to all of them that ensures that:
 - we respond to the client with the exception that blew us up
 - we do not leak the byte buffer backing the request
2018-03-28 16:25:01 -04:00
..
aggs-matrix-stats Start switching to non-deprecated ParseField.match method (#28488) 2018-02-02 10:10:13 -07:00
analysis-common Allow TrimFilter to be used in custom normalizers (#27758) 2017-12-18 14:27:03 +00:00
ingest-common Decouple XContentBuilder from BytesReference (#28972) 2018-03-14 13:47:57 -06:00
lang-expression upgrade to lucene 7.2.1 (#28218) 2018-01-15 16:47:46 +01:00
lang-mustache Decouple XContentBuilder from BytesReference (#28972) 2018-03-14 13:47:57 -06:00
lang-painless Painless: Correct ClassToName string conversion (#28997) 2018-03-13 13:16:48 -07:00
mapper-extras Decouple XContentBuilder from BytesReference (#28972) 2018-03-14 13:47:57 -06:00
parent-join Propagate ignore_unmapped to inner_hits (#29261) 2018-03-27 18:55:42 +02:00
percolator Remove BytesArray and BytesReference usage from XContentFactory (#29151) 2018-03-20 11:52:26 -06:00
rank-eval RankEvalRequest should implement IndicesRequest (#29188) 2018-03-22 11:58:55 +01:00
reindex Fix EsAbortPolicy to conform to API (#29075) 2018-03-16 14:34:36 -04:00
repository-url Remove the single argument Environment constructor (#27235) 2017-11-04 13:25:09 +00:00
transport-netty4 Fix handling of bad requests (#29249) 2018-03-28 16:25:01 -04:00
build.gradle Painless: Add spi jar that will be published for extending whitelists (#28302) 2018-01-18 19:16:26 -08:00