Skip to content

https proxy support - #92

Merged
feroal merged 8 commits into
oracle:mainfrom
ashichau:https_proxy_feature
Oct 1, 2026
Merged

feroal merged 8 commits into
oracle:mainfrom
ashichau:https_proxy_feature

Conversation

@ashichau

@ashichau ashichau commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds https_proxy and https_proxy_port parsing to Oracle Net connect descriptors and EZConnect strings.
Preserves proxy settings when connection addresses are generated or reordered.
Adds proxy settings to the transport address and test configuration.
For TCPS connections, the driver:Opens a TCP connection to the proxy.
Sends an HTTP CONNECT host:port request.
Requires a successful 2xx proxy response.
Reuses the same connection for the TCPS/TLS handshake with the database.

Defaults the proxy port to 80 when it is not specified.
Rejects HTTPS proxy usage with non-TCPS connections.

Fixes # (issue)
Https proxy support
#93

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce them. Please also list any relevant details for your test configuration.

  • Test A
  • Test B

Test Configuration:

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 30, 2026
@ashichau
ashichau marked this pull request as ready for review September 30, 2026 08:26
@ashichau
ashichau requested a review from a team as a code owner September 30, 2026 08:26
@feroal
feroal requested a review from raihan687 September 30, 2026 08:34
Comment thread internal/driver/network/transport/tcpadapter.go Outdated
Comment thread internal/driver/network/session/nsprotocol.go
Comment thread internal/driver/network/session/nsprotocol.go
Comment thread internal/driver/network/naming/iterator_test.go
Comment thread internal/driver/network/naming/nvctx.go Outdated
@feroal
feroal merged commit 10cbd48 into oracle:main Oct 1, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants