wwbmmm commented on pull request #1503: URL: https://github.com/apache/incubator-brpc/pull/1503#issuecomment-1023094454
> 也可以自己在gflag配置指定:--server=www.abc.com:9999 这个www.abc.com会被拼到Host中。 还有一种情况是录制的请求中包含了多个不同Host的请求,这种情况下,无法通过--server的方式去指定不同的Host,所以保留原始Host还是需要的。 > 但完整的Host不止有ip/机器名 也有端口。比如Host: [www.abc.com:8888](http://www.abc.com:8888) 实际给 另外一个机器的9999端口回放请求。 这个不匹配的端口号,不知道是否会有其他问题。 如果需要改端口号,是不是通过指定新Host的方式就可以。感觉“保留原Host”+“新端口号”这个组合挺奇怪的。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
