Re: [grpc-io] Compiling grpc on MSYS breaks at PROTOC

2017-08-08 Thread Thomas Schober
I managed to get it compiling. I removed the option "generate_mock_code" in the line with the error and it compiled / generated without any problem. I also could compile and run the helloWorld example. Maybe there is a bug in the script here ? Am Montag, 7. August 2017 19:55:58 UTC+2 schrieb Ni

[grpc-io] Re: error: undefined reference to `grpc::ServerBuilder::AddListeningPort(std::string const&, std::shared

2017-08-08 Thread Thomas Schober
I found the problem by myself now. By some crazy mistake my IDE used a different compiler than i used for compiling grpc. So this was the actual problem. After i switched to the correct compiler it worked. Am Freitag, 4. August 2017 10:16:40 UTC+2 schrieb Thomas Schober: > > Hi, > > i compiled g

[grpc-io] Re: gRFC A5: Encoding grpclb info in DNS

2017-08-08 Thread 谭锦彪
Hi,Roth. I got "dns_resolver.c:252] authority based dns uri's not supported", when use dns like below: ChannelArguments args; args.SetLoadBalancingPolicyName("round_robin"); GreeterClient greeter(grpc::CreateCustomChannel( "dns://localhost:8600/sag_test_grpc.service.consul-dev

Re: [grpc-io] Re: gRFC A5: Encoding grpclb info in DNS

2017-08-08 Thread 'Mark D. Roth' via grpc.io
The feature you're asking about actually has nothing to do with supporting grpclb in DNS; it's actually about how to use an alternative DNS server for testing. I originally added support for specifying an alternative DNS server by IP address (not hostname) to the c-ares DNS resolver implementation

[grpc-io] Re: gRPC C++ connection failure (getaddrinfo) and deadlock

2017-08-08 Thread 'Nicolas Noble' via grpc.io
Having getaddrinfo() not returning is disturbing. While it's true that all of the OS' DNS resolution functions are synchronous, and will block until the OS comes back with a response, it's usually expected that the OS returns *eventually.* Either with an error (such as a timeout), or with some

[grpc-io] Re: Single threaded async server in C++

2017-08-08 Thread 'Sree Kuchibhotla' via grpc.io
Hi Deepak, grpc core internally creates two sets of thread pools : - Timer thread pool (to execute timers/alarms): Max of 2 threads. Typically just one. - Executor thread pool

[grpc-io] Re: debug grpc calls on server side

2017-08-08 Thread 'David Garcia Quintas' via grpc.io
You don't have to modify the Makefile at all. If you want to build with debug symbols, do "make -c dbg ". You should then be able to run your binary into gdb (or attach to it, etc) in the usual way, set breakpoints, etc. On Monday, 7 August 2017 12:31:05 UTC-7, AK wrote: > > I would like to de