Skip to content

Added IPv6 support, added none auth method, added curl options#239

Closed
GJSBRT wants to merge 1 commit intosmi2:masterfrom
GJSBRT:master
Closed

Added IPv6 support, added none auth method, added curl options#239
GJSBRT wants to merge 1 commit intosmi2:masterfrom
GJSBRT:master

Conversation

@GJSBRT
Copy link
Copy Markdown

@GJSBRT GJSBRT commented Sep 10, 2025

No description provided.

isublimity added a commit that referenced this pull request Apr 3, 2026
- IPv6: getUri() wraps bare IPv6 addresses in brackets (e.g. [::1]:8123)
- AUTH_METHOD_NONE (0): skip authentication for trusted/proxy setups
- curl_options: pass arbitrary CURLOPT_* via config or setCurlOptions()
- CurlerRequest::option() made public for curl option injection
- Tests: IPv6UriTest, AuthMethodNoneTest, CurlOptionsTest

Inspired by PR #239, reimplemented with proper IPv6 detection and tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@isublimity
Copy link
Copy Markdown
Contributor

Thanks for the idea @GJSBRT! We've reimplemented all three features from this PR with proper IPv6 detection, tests, and cleaner separation:

  • IPv6: correctly detects bare IPv6 addresses (multiple colons) vs host:port
  • AUTH_METHOD_NONE: added as constant 0
  • curl_options: configurable via $connectParams['curl_options'] or setCurlOptions()

See the replacement PR that covers all of this.

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.

2 participants