[GitHub] [incubator-brpc] zyearn commented on issue #715: http2 / grpc问题

2019-07-21 Thread GitBox
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时,可以先发数据,如下图 >

[GitHub] [incubator-brpc] zyearn commented on issue #715: http2 / grpc问题

2019-07-17 Thread GitBox
zyearn commented on issue #715: http2 / grpc问题 URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-512657369 > 2\. 设这两个参数也没用的原因,是因为AppendAndDestroySelf函数sctx->Init(ctx, id);这里,

[GitHub] [incubator-brpc] zyearn commented on issue #715: http2 / grpc问题

2019-07-16 Thread GitBox
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时,可以先发数据,如下图

[GitHub] [incubator-brpc] zyearn commented on issue #715: http2 / grpc问题

2019-07-16 Thread GitBox
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

[GitHub] [incubator-brpc] zyearn commented on issue #715: http2 / grpc问题

2019-07-16 Thread GitBox
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

[GitHub] [incubator-brpc] zyearn commented on issue #715: http2 / grpc问题

2019-07-15 Thread GitBox
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是不是正确

[GitHub] [incubator-brpc] zyearn commented on issue #715: http2 / grpc问题

2019-07-15 Thread GitBox
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

[GitHub] [incubator-brpc] zyearn commented on issue #715: http2 / grpc问题

2019-04-02 Thread GitBox
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,

[GitHub] [incubator-brpc] zyearn commented on issue #715: http2 / grpc问题

2019-04-02 Thread GitBox
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