[grpc-io] Async streaming C++ framework

2020-02-26 Thread Jeff
Hey guys, I put together a small framework for an async streaming server in C++. The code can be found at: https://github.com/lbj137/repo1 There is a sample (synchronous) client as well so you can build the client and the server and see how they interact. Hopefully this will prove useful for

[grpc-io] GRPC-Java v1.27.2 Released

2020-02-26 Thread 'Jihun Cho' via grpc.io
gRPC Java 1.27.2 is released and should be available on Maven Central and JCenter. grpclb users are encouraged to upgrade. Bug Fixes - grpclb: grpclb can handle empty address from LoadBalancer instead of throwing exception -- You received this message because you are subscribed to the

[grpc-io] Re: Grpc connection semantics

2020-02-26 Thread 'yas...@google.com' via grpc.io
1) An HTTP/2 stream is what you are looking for. A stream can be terminated with a RST_STREAM frame. Please refer https://http2.github.io/http2-spec/#RST_STREAM 2) The RPC would also be terminated. The application would be able to retry/restart the RPC if necessary. 3) Yes 4) The RPCs are

[grpc-io] Re: Grpc proxy with http2 ssl?

2020-02-26 Thread 'yas...@google.com' via grpc.io
Replying on Eric Anderson's behalf, envoy would be a common one. caddy-server should work fine. I don't know much about mitmproxy. On Wednesday, February 19, 2020 at 8:26:28 AM UTC-8 elh.m...@gmail.com wrote: > hi.. is there a simple cross platform grpc proxy i could use (wanting to >

[grpc-io] Re: gRPC binding the socket to a particular interface or device (Something like SO_BINDTODEVICE)

2020-02-26 Thread 'yas...@google.com' via grpc.io
gRPC C++ does not have any API to allow the client to bind to a specific IP address at the moment. On Wednesday, February 26, 2020 at 1:45:15 AM UTC-8 engr.ab...@gmail.com wrote: > My application communicates with gRPC server. Is there any way for gRPC > client to bind to a particular

[grpc-io] Grpc connection semantics

2020-02-26 Thread ravi . y0102
As mentioned in the grpc documentation, a channel is backed by multiple HTTP/2 requests. I was wondering about the behaviour/details in below situations: 1) Does a channel have something like a failed HTTP/2 call even if the connection(tcp) is fine ? 2) If so, what happens to long running rpcs

[grpc-io] [grpc-web] Looking for Hello world example that uses SSL/TLS

2020-02-26 Thread Rob Cecil
Hi, I have referred back to the Hello World example many times whilst building a ReactJS client to our existing gRPC investment, including the adoption of Envoy, Docker, etc. Now I'm at a juncture where I need to enable SSL/TLS in the browser. I have followed the steps here to setup a

[grpc-io] Re: gRPC binding the socket to a particular interface or device (Something like SO_BINDTODEVICE)

2020-02-26 Thread Abhi Arora
My application communicates with gRPC server. Is there any way for gRPC client to bind to a particular interface or device? Or can I bind to particular IP? Will it work? Is there any way? Linux POSIX socket provides SO_BINDTODEVICE option but I am not sure if gRPC has any application layer