dheerajaraj commented on PR #15190: URL: https://github.com/apache/dubbo/pull/15190#issuecomment-2692606975
Hi @Stellar1999, for version 3.4 the place where the error is happening (`org.apache.dubbo.rpc.protocol.tri.servlet.HttpMetadataAdapter.headers()#57`) looks like this as also mentioned in the original [issue](https://github.com/apache/dubbo/issues/15184): <img width="827" alt="Screenshot 2025-03-02 at 15 46 35" src="https://github.com/user-attachments/assets/30f90806-9161-4b2d-8d3d-2df8b7451c78" /> However, the same line in 3.3 looks like this: <img width="682" alt="Screenshot 2025-03-02 at 15 47 16" src="https://github.com/user-attachments/assets/800e2068-6305-47d5-9bc8-9351eebf1f7b" /> Since you mentioned that 3.3.3 will be merged to 3.3, shall i change in 3.3 `request.getServerName()` to `request.getHeader(HttpHeaderNames.HOST.getName())` as how it's done in 3.3.3 & 3.4? -- 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]
