abort
立即中止 HTTP 處理器鏈並關閉連線,以避免對客戶端做出任何回應。在同一個連線上的任何並發、活躍 HTTP 串流都會中斷。
語法
abort [<matcher>]
範例
使用萬用字元憑證時,強制關閉接收到的未知網域連線
*.example.com {
@foo host foo.example.com
handle @foo {
respond "This is foo!" 200
}
handle {
# Unhandled domains fall through to here,
# but we don't want to accept their requests
abort
}
}