Skip to content

[NI][Proxy] Set content length header in bad request response#7

Open
pooja-bhagat-glean wants to merge 1 commit intomainfrom
fix-bad-request-response
Open

[NI][Proxy] Set content length header in bad request response#7
pooja-bhagat-glean wants to merge 1 commit intomainfrom
fix-bad-request-response

Conversation

@pooja-bhagat-glean
Copy link
Copy Markdown
Collaborator

Description: Curl command to proxy with bad requests hangs because it is waiting for the server to close the connection because it doesn't know how much data to expect.
Setting content length header fixes this case.

Context:

Test plan:


Change Type

  • Flag-gated development/Internal fix
  • Bug Fix/Enhancement
  • Security or Permissions related change
  • Feature launch

Platform (Choose one if applicable)

  • AWS only change
  • GCP only change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants