It works. Nice job! Thank you for help.by hunterqin - Nginx Mailing List - English
I used protobuf v310, grpc v181, nginx v1152 and v1140. The server is just same as the example async_server on grpc website. https://grpc.io/docs/tutorials/async/helloasync-cpp.html You can use it directly. https://github.com/grpc/grpc/blob/v1.14.1/examples/cpp/helloworld/greeter_async_server.cc By the way, there is another problem found in nginx. Maybe you are intersted in it. After fixiby hunterqin - Nginx Mailing List - English
I found the problem. I used the wireshark to analyse the packets between nginx server and grpc server and I found that in the last packet from grpc server to nginx client, there are five frames,SETTINGS, HEADERS, DATA, HEADERS, WINDOW_UPDATE. The second HEADERS set the 'end_stream' and ngx_http_grpc_filter checked it (about the 2100th line in the ngx_http_grpc_module.c) ifby hunterqin - Nginx Mailing List - English
Hi, everyone! I have a problem that keepalive does not work with grpc. My conf looks like this: worker_processes 1; events { worker_connections 102400; } http { include mime.types; default_type application/octet-stream; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; keepalive_requests 1000;by hunterqin - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |