http协议解析失败,返回400
Open
discussion
- Dominant language
- C++
- Stars
- 17.6k
- Forks
- 4.1k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 69
Description
https://github.com/apache/incubator-brpc/blob/b1f7ea03353072a11d416ac837c12c973314bbbe/src/brpc/policy/http_rpc_protocol.cpp#L1142
这个地方是不是应该是MakeRawHttpResponse?
ps.假如是持续上传,在传输过程中解析失败,此时返回的400客户端是不会处理的,不知道有没有其他解决方法?
Contributor guide
Research direction
Start at src/brpc/policy/http_rpc_protocol.cpp:1142 and compare the current response construction with MakeRawHttpResponse. Trace how parsing failures are handled during continuous uploads, then verify whether the client processes the resulting 400 response. Done means the suspected response behavior is confirmed or corrected and the continuous-upload failure case has a clear, tested outcome.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend-api-design, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100