Commit 9cfe2b74 authored by Geoff Simmons's avatar Geoff Simmons

Permit fail and restart as returns for client request disposition.

parent 40491565
...@@ -361,6 +361,8 @@ spec: ...@@ -361,6 +361,8 @@ spec:
- pipe - pipe
- purge - purge
- synth - synth
- fail
- restart
type: string type: string
status: status:
type: integer type: integer
......
...@@ -400,6 +400,10 @@ const ( ...@@ -400,6 +400,10 @@ const (
// RecvSynth to generate a synthetic response with a given // RecvSynth to generate a synthetic response with a given
// HTTP response status. // HTTP response status.
RecvSynth = "synth" RecvSynth = "synth"
// RecvFail to invoke VCL failure.
RecvFail = "fail"
// RecvRestart to invoke request restart.
RecvRestart = "restart"
) )
// DispositionSpec specifies the disposition of a client request when // DispositionSpec specifies the disposition of a client request when
......
...@@ -710,6 +710,10 @@ const ( ...@@ -710,6 +710,10 @@ const (
// RecvSynth to generate a synthetic response with a given // RecvSynth to generate a synthetic response with a given
// HTTP response status. // HTTP response status.
RecvSynth = "synth" RecvSynth = "synth"
// RecvFail to invoke VCL failure.
RecvFail = "fail"
// RecvRestart to invoke request restart.
RecvRestart = "restart"
) )
// DispositionType specifies the disposition of a client request when // DispositionType specifies the disposition of a client request when
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment