Skip to content

feat: allow return(upgrade) in vcl_recv - #620

Open
acme wants to merge 3 commits into
ysugimoto:mainfrom
acme:acme/allow-return-upgrade
Open

feat: allow return(upgrade) in vcl_recv#620
acme wants to merge 3 commits into
ysugimoto:mainfrom
acme:acme/allow-return-upgrade

Conversation

@acme

@acme acme commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator
  • Add "upgrade" to valid RECV return states in the linter
  • Fixes false error on WebSocket passthrough (return(upgrade))
  • Add linter test covering return(upgrade) in vcl_recv

Reference: https://www.fastly.com/documentation/reference/vcl/subroutines/recv/

acme added 3 commits June 24, 2026 11:32
- Add "upgrade" to valid RECV return states in the linter
- Fixes false error on WebSocket passthrough (return(upgrade))
- Add linter test covering return(upgrade) in vcl_recv
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