Skip to content

[9.3](backport #6491) Fix checkin endpoint gzip handling#6528

Merged
ebeahan merged 1 commit into9.3from
mergify/bp/9.3/pr-6491
Mar 6, 2026
Merged

[9.3](backport #6491) Fix checkin endpoint gzip handling#6528
ebeahan merged 1 commit into9.3from
mergify/bp/9.3/pr-6491

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Mar 6, 2026

What is the problem this PR solves?

Checkin requests did not support "Content-Encoding: gzip" correctly.

How does this PR solve the problem?

Detect Content-Encoding: gzip header when validating checkin bodies and uncompress the body if detected.

Design Checklist

  • I have ensured my design is stateless and will work when multiple fleet-server instances are behind a load balancer.
  • I have or intend to scale test my changes, ensuring it will work reliably with 100K+ agents connected.
  • I have included fail safe mechanisms to limit the load on fleet-server: rate limiting, circuit breakers, caching, load shedding, etc.

Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
    This is an automatic backport of pull request Fix checkin endpoint gzip handling #6491 done by Mergify.

Detect Content-Encoding: gzip header when validating checkin bodies and uncompress the body if detected.

(cherry picked from commit 122fac1)
@mergify mergify bot requested a review from a team as a code owner March 6, 2026 17:22
@mergify mergify bot added the backport label Mar 6, 2026
@mergify mergify bot requested review from michel-laterman and swiatekm March 6, 2026 17:22
@github-actions github-actions bot added bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Mar 6, 2026
@mergify mergify bot mentioned this pull request Mar 6, 2026
2 tasks
@ebeahan ebeahan merged commit d48a7d8 into 9.3 Mar 6, 2026
11 checks passed
@ebeahan ebeahan deleted the mergify/bp/9.3/pr-6491 branch March 6, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants