Skip to content

Skip free-server time limits for pro users#13

Merged
mechelon merged 1 commit into
mainfrom
pro-connection-limit
Jun 24, 2026
Merged

Skip free-server time limits for pro users#13
mechelon merged 1 commit into
mainfrom
pro-connection-limit

Conversation

@mechelon

@mechelon mechelon commented May 6, 2026

Copy link
Copy Markdown
Collaborator

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

@mechelon mechelon merged commit f327a2c into main Jun 24, 2026
12 checks passed
@mechelon mechelon deleted the pro-connection-limit branch June 24, 2026 14:40
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