LiuQiang

Results 9 comments of LiuQiang

We could - A: check if service name a valid host for HTTP - B: set host field by remote_side option B would revert some changes dab62e476 by @guodongxiaren

> > We could > > > > * A: check if service name a valid host for HTTP > > * B: set host field by remote_side > >...

> Is it possible that we fix the host field after a server has been selected? > > > B: set host field by remote_side > > If schema is...

那么是在Echo 处理函数中回复了Echo response,同时启动一个线程来运行你的业务函数就行了吧

> > > 那么是在Echo 处理函数中回复了Echo response,同时启动一个线程来运行你的业务函数就行了吧 > > > > > > 想了解brpc有没有预留这样的借口,自己起线程,感觉在程序退出时,可能会有资源访问core问题 > > 运行done->Run()后request和response都会被析构,如果在单独业务线程中会访问req和resp会有问题 Hi,如果是这样,你应该拓展done的生命周期,类似这样: ```cpp void ChatServiceImpl::Syn(google::protobuf::RpcController *cntl_base, const HttpRequest *, HttpResponse *, google::protobuf::Closure *done) { brpc::ClosureGuard...

> any progress in this issue? > @thorneliu 看#2251 的实现,需要一个user SocketSSLContext和SSLHandshakeComplete回调函数才能支持吧。 大概是一个提供 sslpolicy和nonsslpolicy的连接实现;具体再sslpolicy里面 需要处理ssl handshake等内容

> any progress in this issue? Now it is just one proposal

``` && cd ./incubator-brpc \ && mkdir build \ && cd build \ && cmake .. \ && make -j8 \ && make install \ ``` 用这样的编译命令将brpc安装到系统中。头文件中引用 #include Cmake中需要添加选项链接brpc ```...