Skip to content

Skip free-server time limits for pro users#13

Open
mechelon wants to merge 1 commit intomainfrom
pro-connection-limit
Open

Skip free-server time limits for pro users#13
mechelon wants to merge 1 commit intomainfrom
pro-connection-limit

Conversation

@mechelon
Copy link
Copy Markdown
Collaborator

@mechelon mechelon commented May 6, 2026

Summary

  • exempt authenticated users with can_specify_subdomains = 1 from maximum_connection_length
  • keep the existing timeout and cooldown flow for non-Pro users
  • add regression tests covering both the exempt and non-exempt paths

Why

Free servers should not disconnect Pro users just because a server-wide connection time limit is configured. This keeps the free-server limit in place for non-Pro users while allowing Pro users to stay connected without interruption.

Validation

  • vendor/bin/phpunit tests/Feature/Server/ConnectionManagerTest.php
  • vendor/bin/phpunit tests/Feature/Server/TunnelTest.php

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