Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 264 Bytes

close_connection_without_host.md

File metadata and controls

10 lines (8 loc) · 264 Bytes

Close Connection without Host

In some cases we may want to stop communication if a client is requesting traffic without a host defined. To do these we would use the following.

host = avi.http.hostname()
if not host then
   avi.http.close_conn()
end