kyuubi icon indicating copy to clipboard operation
kyuubi copied to clipboard

[KYUUBI #6615] Make Jetty sending server version in response configurable

Open paul8263 opened this issue 5 months ago โ€ข 1 comments

:mag: Description

Issue References ๐Ÿ”—

This pull request fixes #6615

Describe Your Solution ๐Ÿ”ง

Add a config item that controls whether Jetty should send its version in response.

This is an additional patch which enables/disables sending Jetty version for prometheus reporter.

Sending Jetty version could be disabled by calling HttpConfiguration::setSendServerVersion(false)

Types of changes :bookmark:

  • [x] Bugfix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan ๐Ÿงช

Compiled and tested manually.

Behavior Without This Pull Request :coffin:

Behavior With This Pull Request :tada:

Related Unit Tests


Checklist ๐Ÿ“

Be nice. Be informative.

paul8263 avatar Sep 11 '24 10:09 paul8263