You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by "haoxiaokun (via GitHub)" <gi...@apache.org> on 2024/04/26 02:28:08 UTC

[I] v1.8 配置参数 (brpc)

haoxiaokun opened a new issue, #2615:
URL: https://github.com/apache/brpc/issues/2615

   请问文档是不是跟1.8不匹配,如何使用set_response_compress_type,参数set_response_compress_type(brpc::CompressTypeZlib);编译不过去,还有[max_body_size]怎么设置,brpc::ServerOptions options;没有此参数。有交流群吗
   
   


-- 
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: dev-unsubscribe@brpc.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


Re: [I] v1.8 配置参数 (brpc)

Posted by "chenBright (via GitHub)" <gi...@apache.org>.
chenBright commented on issue #2615:
URL: https://github.com/apache/brpc/issues/2615#issuecomment-2078952762

   > 如何使用set_response_compress_type,参数set_response_compress_type(brpc::CompressTypeZlib);编译不过去
   
   应该是`COMPRESS_TYPE_ZLIB`吧。
   https://github.com/apache/brpc/blob/68aff6947c10d92bf44aa585b1913deb91cf8f92/src/brpc/options.proto#L69-L75
   
   > [max_body_size]怎么设置
   
   `max_body_size`应该是gflag,通过`./bin --max_body_size=10000`设置。
   
   


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org