Skip to content

fix(DPE-3944) : backport of CAMEL-24632 - #161

Merged
f2par0 merged 2 commits into
tesb/camel-4.8.1.xfrom
fdeparscau/fix/DPE-3944
Sep 9, 2026
Merged

f2par0 merged 2 commits into
tesb/camel-4.8.1.xfrom
fdeparscau/fix/DPE-3944

Conversation

@f2par0

@f2par0 f2par0 commented Sep 9, 2026

Copy link
Copy Markdown

Description

backport PR linked to CAMEL-24632 on camel-http component

Target

  • I checked that the commit is targeting the correct branch (Camel 4 uses the main branch)

Tracking

  • If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

  • I checked that each commit in the pull request has a meaningful subject line and body.
  • I have run mvn clean install -DskipTests locally from root folder and I have committed all auto-generated changes.

AI-assisted contributions

  • If this PR includes AI-generated code, commits have proper co-authorship attribution (e.g., Co-authored-by trailers) and the PR description identifies the AI tool used.

davsclaus and others added 2 commits September 9, 2026 13:35
…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>
@f2par0
f2par0 requested a review from a team as a code owner September 9, 2026 11:45

@andreasmattes andreasmattes left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@f2par0
f2par0 merged commit 933bb7e into tesb/camel-4.8.1.x Sep 9, 2026
3 of 5 checks passed
@f2par0
f2par0 deleted the fdeparscau/fix/DPE-3944 branch September 9, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants