Skip to content

是否支持Curl通过Http发送大量数据至brpc server? #1217

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

Closed
ZZili89 opened this issue Aug 26, 2020 · 1 comment
Closed

是否支持Curl通过Http发送大量数据至brpc server? #1217

ZZili89 opened this issue Aug 26, 2020 · 1 comment
Labels
usage user need to change the way using brpc to solve the problem

Comments

@ZZili89
Copy link

ZZili89 commented Aug 26, 2020

查阅了大量资料无果,只能求助社区,请问这种场景是否支持:
通过curl发送一个二进制流(<= 200M)给brpc http server,经过处理后再将处理后的流返回给client。
如果支持需要怎样做,不支持的话用brpc http client是否可行呢(client优先考虑curl的原因是易于部署,方便用户使用)?
谢谢。

@gydong
Copy link
Contributor

gydong commented Aug 28, 2020

server支持接收大body,但不支持持续接收(边接收边处理),所以只要内存足够用,是可以传输大body的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage user need to change the way using brpc to solve the problem
Projects
None yet
Development

No branches or pull requests

3 participants