fix(DPE-3944) : backport of CAMEL-24632 - #161
Merged
Merged
Conversation
…faulting to https for https targets (apache#26171) * CAMEL-24632: camel-http - fix proxy scheme defaulting to https for https targets HttpComponent.configureHttpProxy() was deriving the proxy connection scheme from the target endpoint scheme (secure ? "https" : "http"), which is wrong. The proxy connection scheme is independent of the target: connecting to an HTTPS target through an HTTP proxy uses a plain HTTP CONNECT tunnel, with TLS established end-to-end inside that tunnel. Fix defaults proxyAuthScheme to "http" unconditionally in HttpComponent, HttpEndpoint (deprecated global-options path), and updates the defaultValue metadata in HttpCommonEndpoint and HttpConfiguration. The unused boolean secure parameter is also removed from configureHttpProxy(). Catalog and DSL regenerated. Closes apache#26167 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * CAMEL-24632: fix malformed JSON in backport-merged generated files Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com> --------- Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
backport PR linked to CAMEL-24632 on camel-http component
Target
mainbranch)Tracking
Apache Camel coding standards and style
mvn clean install -DskipTestslocally from root folder and I have committed all auto-generated changes.AI-assisted contributions
Co-authored-bytrailers) and the PR description identifies the AI tool used.