[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时,可以先发数据,如下图 ![image](https://user-images.githubusercontent.com/4475779/61

[GitHub] [incubator-brpc] unlimitlearning commented on issue #392: brpc streaming发送数据问题

2019-07-16 Thread GitBox
unlimitlearning commented on issue #392: brpc streaming发送数据问题 URL: https://github.com/apache/incubator-brpc/issues/392#issuecomment-512089737 我现在也遇到了这个问题,请问楼主找到解决方案了吗 This is an automated message from the Apache Git Service. T

[GitHub] [incubator-brpc] zhangqiang4002 closed issue #844: client请求包太大(90M)时server core

2019-07-16 Thread GitBox
zhangqiang4002 closed issue #844: client请求包太大(90M)时server core URL: https://github.com/apache/incubator-brpc/issues/844 This is an automated message from the Apache Git Service. To respond to the message, please log on to Git

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

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

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

2019-07-16 Thread GitBox
supernovaer commented on issue #715: http2 / grpc问题 URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-511769400 > 值 赋值给ServerOptions.h2_settings是调试的时候加的,因为担心走到箭头这个分支里去了。 确实不需要加这段赋值的,最开始报window-size错的时候,也没加这段。 ![image](https://user-images.githubusercontent.com/63

[GitHub] [incubator-brpc] jamesge commented on issue #840: 在sched_to函数中打大量LOG会出现占用大量内存的情况

2019-07-16 Thread GitBox
jamesge commented on issue #840: 在sched_to函数中打大量LOG会出现占用大量内存的情况 URL: https://github.com/apache/incubator-brpc/issues/840#issuecomment-511752499 这个位置是在切换bthread过程中,比较特殊,打印日志中又用到bthread的tls,整体行为应该是undefined This is an automated

[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 --h2_client_stream_window_size=xxx

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

2019-07-16 Thread GitBox
supernovaer commented on issue #715: http2 / grpc问题 URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-511739962 gdb断点看了下,进到H2StreamContext::ConsumeWindowSize这个函数的时候,第一个判断条件就没通过,_remote_window_left已经小于size了。 ![image](https://user-images.githubusercontent.com/6361566/6

[GitHub] [incubator-brpc] crise1990 commented on issue #843: 请问 brpc 现阶段是否支持 gRPC 双向streaming?

2019-07-16 Thread GitBox
crise1990 commented on issue #843: 请问 brpc 现阶段是否支持 gRPC 双向streaming? URL: https://github.com/apache/incubator-brpc/issues/843#issuecomment-511738713 > 主要用在什么场景?如果上下游都是brpc,可以用https://github.com/apache/incubator-brpc/blob/master/docs/en/streaming_rpc.md 我们的服务目前基于 brpc(v0.9.5)开发。使用场景为语

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

2019-07-16 Thread GitBox
supernovaer commented on issue #715: http2 / grpc问题 URL: https://github.com/apache/incubator-brpc/issues/715#issuecomment-511734834 client端进程启动流程大概是这样的: brpc::Server server; server.AddService(xxx); brpc::ServerOptions options; options.h2_settings.stream_window_size=brpc::policy::FLAGS_h2

[GitHub] [incubator-brpc] zyearn commented on issue #843: 请问 brpc 现阶段是否支持 gRPC 双向streaming?

2019-07-16 Thread GitBox
zyearn commented on issue #843: 请问 brpc 现阶段是否支持 gRPC 双向streaming? URL: https://github.com/apache/incubator-brpc/issues/843#issuecomment-511731424 主要用在什么场景?如果上下游都是brpc,可以用https://github.com/apache/incubator-brpc/blob/master/docs/en/streaming_rpc.md --

[GitHub] [incubator-brpc] zhangqiang4002 opened a new issue #844: client请求包太大(90M)时server core

2019-07-16 Thread GitBox
zhangqiang4002 opened a new issue #844: client请求包太大(90M)时server core URL: https://github.com/apache/incubator-brpc/issues/844 **Describe the bug (描述bug)** #0 0x7f6623f571d7 in raise () from /lib64/libc.so.6 #1 0x7f6623f588c8 in abort () from /lib64/libc.so.6 #2 0x7f66

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