zyearn commented on issue #715: http2 / grpc问题
URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-513629125
> @kaydxh @supernovaer
关于要先发一个小包来解决setting交换的问题,spec对这个问题有相关说明,当client还未收到server setting时,可以先发数据,如下图
>
![image](https://user-images.githubusercontent.com/447577
zyearn commented on issue #715: http2 / grpc问题
URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-512657369
> 2\. 设这两个参数也没用的原因,是因为AppendAndDestroySelf函数sctx->Init(ctx, id);这里,
在H2Context构造的时候会把默认值用FLAGS_h2_client_stream_window_size以及FLAGS_h2_client_max_frame_size替换
zyearn commented on issue #715: http2 / grpc问题
URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-512632676
h2_client_connection_window_size/h2_client_stream_window_size是有用的,这是client的参数,你赋给了serveroptions是没用的,这是让client的配置错误地在server上应用,这是client告诉server,自己这里有多大的windowsize,你需
zyearn commented on issue #715: http2 / grpc问题
URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-512091416
@kaydxh @supernovaer
关于要先发一个小包来解决setting交换的问题,spec对这个问题有相关说明,当client还未收到server setting时,可以先发数据,如下图
![image](https://user-images.githubusercontent.com/4475779/61
zyearn commented on issue #715: http2 / grpc问题
URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-511750948
FLAGS_h2_client_stream_window_size这个值是代表client的配置,一般是写在起程序的conf里的,不是赋给ServerOptions.h2_settings的,该值是server端的配置。一般用法是这样的,./client
--h2_client_stream_window_size=xxx
zyearn commented on issue #715: http2 / grpc问题
URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-511712146
我本地试了下,是可以正确设置的,把你起client程序的命令发一下吧
This is an automated message from the Apache Git Service.
To res
zyearn commented on issue #715: http2 / grpc问题
URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-511662029
这两个值是可以设置的,确保下server是否收到了,以及正确返回了。然后看一下 ip:port/connections 中client
channel的socket页面(有链接可以点),在页面里找到agent_socket_id,然后看一下ip:port/sockets/里的h2
local setting是不是正确
--
zyearn commented on issue #715: http2 / grpc问题
URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-511630027
Client还需要先发一个小的包,比如访问下内置服务/health
This is an automated message from the Apache Git Service.
To resp
zyearn commented on issue #715: http2 / grpc问题
URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-479346126
这个你要看grpc的文档了
This is an automated message from the Apache Git Service.
To respond to the message,
zyearn commented on issue #715: http2 / grpc问题
URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-479333074
原因:目前brpc
client的h2setting是和req一起发过去的,这时用的是默认大小,如果超过这个值,就发不出去,那么client的h2setting也发不出去,server端的h2setting也不会回复给client,server端的window
size就不能传到client
workaroun
10 matches
Mail list logo