CAICAIIs opened a new pull request, #3620: URL: https://github.com/apache/dubbo-go/pull/3620
### What changed This PR continues the HTTP/3 configuration work from #3299 and wires the direct HTTP/3 client path to the same `Http3Config -> quic.Config` mapping used by the Triple server. Changes: - Move the QUIC config mapper into `protocol/triple/internal/http3config` - Reuse the shared mapper from both Triple server startup paths and the direct HTTP/3 client transport - Preserve the existing direct HTTP/3 keepalive fallback by passing legacy keepalive values as QUIC defaults - Let explicit `Http3Config` values override those defaults - Add focused tests for default preservation, explicit overrides, invalid duration propagation, and server error handling ### Scope This PR intentionally keeps the scope narrow: - Direct HTTP/3 client path is covered - Server path remains covered through the shared mapper - Dual transport HTTP/3 config wiring is left for a follow-up PR - Full code-level option APIs such as `Http3KeepAlivePeriod` / `Http3MaxIdleTimeout` are left for a separate follow-up PR Refs #3102. ### Validation ```bash go test ./protocol/triple/internal/http3config -count=1 go test ./protocol/triple/triple_protocol -run TestServer_HTTP3PathsUseQUICConfigHelper -count=1 go test ./protocol/triple -run 'TestNewHTTP3TransportQUICConfig|TestNewHTTP3TransportReturnsQUICConfigError' -count=1 git diff --check upstream/develop...HEAD ``` -- 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]
