Skip to content

[BugFix] explicit content-length clear if proxy_pass_request_body is off - #744

Merged
kevincai merged 1 commit into
StarRocks:mainfrom
kevincai:bugfix/proxy-request-off-content-length
Mar 26, 2026
Merged

kevincai merged 1 commit into
StarRocks:mainfrom
kevincai:bugfix/proxy-request-off-content-length

Conversation

@kevincai

Copy link
Copy Markdown
Collaborator

Description

Please provide a detailed description of the changes you have made. Include the motivation for these changes, and any
additional context that may be important.

the PR should include helm chart changes and operator changes.

Related Issue(s)

Please list any related issues and link them here.

Checklist

For operator, please complete the following checklist:

  • run make generate to generate the code.
  • run golangci-lint run to check the code style.
  • run make test to run UT.
  • run make manifests to update the yaml files of CRD.

For helm chart, please complete the following checklist:

  • make sure you have updated the values.yaml
    file of starrocks chart.
  • In scripts directory, run bash create-parent-chart-values.sh to update the values.yaml file of the parent
    chart( kube-starrocks chart).

Signed-off-by: Kevin Cai <kevin.cai@celerdata.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the FE Proxy NGINX ConfigMap template to explicitly clear the Content-Length header in locations where proxy_pass_request_body off; is used, preventing upstream request framing mismatches when the request body is not proxied.

Changes:

  • Add proxy_set_header Content-Length ""; to multiple NGINX locations that disable proxying the request body.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kevincai
kevincai merged commit b6a85b4 into StarRocks:main Mar 26, 2026
8 checks passed
cgpoh pushed a commit to cgpoh/starrocks-kubernetes-operator that referenced this pull request Mar 28, 2026
…off (StarRocks#744)

Signed-off-by: Kevin Cai <kevin.cai@celerdata.com>
Signed-off-by: CG <cgpoh76@gmail.com>
@yandongxiao yandongxiao added v1.11.5 bugfix fix something that does not work labels Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix fix something that does not work v1.11.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants