slime-io / slime

An intelligent ServiceMesh manager based on Istio
https://slime-io.github.io/
Other
424 stars 78 forks source link

lazyload proxy use port in host when no OrigDest header #400

Closed YonkaFang closed 1 year ago

YonkaFang commented 1 year ago

提高场景兼容性: 当请求没带 orig dest header时,使用host中的port作为转发请求的目标端口 (而不是wormhole port)。

同时留参数(env WORMHOLE_PORT_PRIOR_TO_HOST_PORT)来保留原来的行为(用于容灾代理而非懒加载场景)