supernovaer commented on issue #715: http2 / grpc问题
URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-511770567
 
 
   > 
FLAGS_h2_client_stream_window_size这个值是代表client的配置,一般是写在起程序的conf里的,不是赋给ServerOptions.h2_settings的,该值是server端的配置。一般用法是这样的,./client
 --h2_client_stream_window_size=xxx --h2_client_connection_window_size=yyy
   
   进程启动方式应该没问题,其他配置都正常读到的。
   我是用配置文件解析gflags,启动命令:./bin -flagfile=flag.conf
   代码里
   int main(int argc, char* argv[]) {
       // Parse gflags.
       google::ParseCommandLineFlags(&argc, &argv, true);
       brpc::Server server;
      ...
   配置文件conf.flag里
   --h2_client_connection_window_size=10485760
   --h2_client_stream_window_size=10485760

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to