v1.8 配置参数
haoxiaokun opened this issue · comments
请问文档是不是跟1.8不匹配,如何使用set_response_compress_type,参数set_response_compress_type(brpc::CompressTypeZlib);编译不过去,还有[max_body_size]怎么设置,brpc::ServerOptions options;没有此参数。有交流群吗
如何使用set_response_compress_type,参数set_response_compress_type(brpc::CompressTypeZlib);编译不过去
应该是COMPRESS_TYPE_ZLIB
吧。
Lines 69 to 75 in 68aff69
[max_body_size]怎么设置
max_body_size
应该是gflag,通过./bin --max_body_size=10000
设置。