v0.66.0
Added 3
- HTTPS proxies now support load balancing groups with loadBalancer.group and loadBalancer.groupKey to share the same custom domain and distribute traffic across multiple backend services
- Individual frpc proxies and visitors now accept an enabled flag (defaults to true) to disable specific entries without relying on the global start list
- OIDC authentication now supports a tokenSource field with type = "file" to read a token from a file or type = "exec" to run an external command and capture its stdout as the token, requiring the --allow-unsafe=TokenSourceExec CLI flag
Changed 1
- VirtualNet implemented intelligent reconnection with exponential backoff, increasing reconnect interval from 60s to 300s max when connection errors occur repeatedly, while normal disconnections reconnect at 10s intervals
Fixed 1
- Fix deadlock issue when TCP connection is closed that previously caused sending messages to block forever if the connection handler had already stopped
Features
- HTTPS proxies now support load balancing groups. Multiple HTTPS proxies can be configured with the same
loadBalancer.groupandloadBalancer.groupKeyto share the same custom domain and distribute traffic across multiple backend services, similar to the existing TCP and HTTP load balancing capabilities. - Individual frpc proxies and visitors now accept an
enabledflag (defaults to true), letting you disable specific entries without relying on the globalstartlist—disabled blocks are skipped when client configs load. - OIDC authentication now supports a
tokenSourcefield to dynamically obtain tokens from external sources. You can usetype = "file"to read a token from a file, ortype = "exec"to run an external command (e.g., a cloud CLI or secrets manager) and capture its stdout as the token. Theexectype requires the--allow-unsafe=TokenSourceExecCLI flag for security reasons.
Improvements
- VirtualNet: Implemented intelligent reconnection with exponential backoff. When connection errors occur repeatedly, the reconnect interval increases from 60s to 300s (max), reducing unnecessary reconnection attempts. Normal disconnections still reconnect quickly at 10s intervals.
Fixes
- Fix deadlock issue when TCP connection is closed. Previously, sending messages could block forever if the connection handler had already stopped.