Skip to content

Backport deprecation warning header limits to 5.6 #36243

@orangejulius

Description

@orangejulius

Hello!

In #28427, configuration options were added for the deprecation warning headers that are sent along in HTTP responses.

Please consider backporting these changes to Elasticsearch 5.6. In particular, because Node.js just released security updates that reject response headers over 8192 bytes, its likely a significant number of users of Node.js will now see issues due to those headers.

Hopefully, that will lead to them fixing the issues raised by the deprecation warnings! :)

However, in some cases, it's not feasible to fix the warnings immediately. In my case, I maintain an open source project (the Pelias geocoder), where we are currently migrating from Elasticsearch 2 to 5. We can't fix the deprecation warnings until we drop support for ES2, and we can't drop that support right away.

While there are discussions about setting a default to the number of warnings returned, even having the option to set that limit would be enough for now. I understand that setting new default config options might not be possible on older releases that are technically only getting bugfixes, and no behavior changes would be allowed.

Let me know if backporting this change is possible or if there is another solution. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions