Skip to content

Fix AutoSSL connections stalling on pass rules by falling back to passthrough#93

Open
Drewsif wants to merge 1 commit intosonertari:masterfrom
Drewsif:fix/autossl-filter-pass
Open

Fix AutoSSL connections stalling on pass rules by falling back to passthrough#93
Drewsif wants to merge 1 commit intosonertari:masterfrom
Drewsif:fix/autossl-filter-pass

Conversation

@Drewsif
Copy link
Copy Markdown

@Drewsif Drewsif commented Apr 30, 2026

Description

  • What does this PR do?
    This PR updates the protocol handling logic to correctly fall back to the passthrough protocol when a pass rule or passthrough option is configured during AutoSSL connections.

  • What problem does it solve or what feature does it add?
    It fixes an issue where AutoSSL connections would stall when a pass rule was matched. Previously, the connection would stall or terminate. Now, it falls back to passthrough and ensures that any buffered client (source) data is properly processed after switching protocols.

  • Is this related to an open issue? If so, reference it here.
    N/A

Checklist

  • I have read and agreed to the Code of Conduct.
  • I have read the Contributing Guidelines.
  • My code builds and passes all tests (make test or equivalent).
  • I have added or updated documentation as needed. (N/A - bug fix)
  • I have tested the changes and verified new and existing functionality works as expected.

Additional Information

  • Any special instructions for testing?
    To verify, configure an AutoSSL setup with a pass rule for a specific connection. Ensure that the connection succeeds and does not stall, and that any initial data sent by the client before the protocol switch is correctly forwarded.

  • Screenshots, logs, or other supporting materials, if applicable.
    When the fallback occurs, a warning log Falling back to passthrough will be recorded, and the source buffer will be checked and processed if its length > 0.

…le was configured. The connection now correctly falls back to the passthrough protocol and processes any buffered client data.

- fix(ssl): Fall back to passthrough protocol when a `pass` rule is configured for autossl
- fix(passthrough): Process buffered source data after switching from another protocol
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.

1 participant