[BUG]请求经过solon-gatway路由到业务服务,业务服务的request的method会被污染,变成0\r\n\r\nGET
Open
Nobody has claimed this yet.
bug
- Dominant language
- Java
- Stars
- 2.8k
- Forks
- 282
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 1
Description
关联版本
您当前正在使用我们框架的哪个版本?
2.9.3
问题描述
简要描述您碰到的问题。
请求经过solon-gatway路由到业务服务,业务服务的request的method会被污染,变成0\r\n\r\nGET
如何复现
请详细告诉我们如何复现您遇到的问题,并附上可复现的代码示例
请求经过solon-gatway路由到业务服务,业务服务的request的method会被污染,变成0\r\n\r\nGET
//可在此输入示例代码
预期结果
请告诉我们您预期会发生什么。
实际结果
请告诉我们实际发生了什么。
截图或视频
如果可以的话,上传任何关于 Bug 的截图。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the request through solon-gatway using Solon 2.9.3 and compare the method received by the business service with the original request. Trace the gateway-to-service request path to identify where the method becomes 0\r\n\r\nGET; done means the service receives the correct HTTP method without the added bytes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100