Chetan Gaonker | 7f4bf74 | 2016-05-04 15:56:08 -0700 | [diff] [blame] | 1 | # |
| 2 | # If you want the server to pretend that it is dead, |
| 3 | # then use the "do_not_respond" policy. |
| 4 | # |
| 5 | do_not_respond { |
| 6 | update control { |
| 7 | Response-Packet-Type := Do-Not-Respond |
| 8 | } |
| 9 | |
| 10 | handled |
| 11 | } |
| 12 | |
| 13 | # |
| 14 | # Have the server accept the current request. |
| 15 | # Can only be called from authorize. |
| 16 | # Unlike calling the always module instance 'reject' the request will continue to be processed. |
| 17 | # |
| 18 | accept.authorize { |
| 19 | update control { |
| 20 | Auth-Type := accept |
| 21 | } |
| 22 | } |