Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually adding Content-Length will cause apache http client exception #4236

Closed
Maijh97 opened this issue Nov 16, 2020 · 0 comments
Closed

Manually adding Content-Length will cause apache http client exception #4236

Maijh97 opened this issue Nov 16, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@Maijh97
Copy link
Collaborator

@Maijh97 Maijh97 commented Nov 16, 2020

Describe the bug

DistroFilter carries content-length when forwarding the request, which causes an apache HTTP client to display an exception ProtocolException: content-length header already present.

Expected behavior

Normal forwarding.

Acutally behavior

error : ProtocolException: Contentlength header already present

How to Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Desktop (please complete the following information):

  • OS: MAC os
  • Version nacos-server 1.4.1
  • Module naming
  • SDK original

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant