supernovaer commented on issue #715: http2 / grpc问题
URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-512649588
 
 
   > 
h2_client_connection_window_size/h2_client_stream_window_size是有用的,这是client的参数,你赋给了serveroptions是没用的,这是让client的配置错误地在server上应用,这是client告诉server,自己这里有多大的windowsize,你需要在client的程序启动时设置
   
   1. 赋给了serveroptions是没用的,这一点明白了,前面给它赋值是调试的时候胡乱加的,当时没想太明白
   
2.直接设置这两个参数h2_client_connection_window_size/h2_client_stream_window_size也没有用,已经在client启动的时候设置了
   3. 设这两个参数也没用的原因,是因为AppendAndDestroySelf函数sctx->Init(ctx, id);这里,
   
![image](https://user-images.githubusercontent.com/6361566/61426562-63981d00-a94d-11e9-8991-93dc102a4227.png)
   
![image](https://user-images.githubusercontent.com/6361566/61426577-67c43a80-a94d-11e9-8a2d-03b4449e03e4.png)
   stream_window_size的初始值是写死的,跟上面的两个gflag变量并没有关系
   4. 
这里是不是可以给H2Settings.stream_window_size新增一个初始值gflag变量?这里其实是server_remote_setting,含义上跟h2_client_xxx_window_size也不太一样

----------------------------------------------------------------
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