zengkui commented on issue #1775:
URL: 
https://github.com/apache/incubator-brpc/issues/1775#issuecomment-1146602315

   > 
   
   
   
   > 试试这个接口,这是专门用来读chunked response的: 
https://github.com/apache/incubator-brpc/blob/master/src/brpc/progressive_reader.h
   > 
   > 但此接口比较底层,获取events后需要append至一个IOBuf内然后按格式边界自行切割、使用
   
   感谢回复。 我尝试用utest里的写了一个demo,可以正常运行了,效果和curl 的一致。 但是这个自行切割边界 确实是一个比较麻烦的事情。 
需要切割的原因是event的频率很高的话 会有多个event的response  append到一起送给一次OnReadOnePart调用的参数里么?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to