|
Apache Mesos
|
Simple firewall rule to forbid any HTTP request to a path in the provided list of endpoints. More...
#include <firewall.hpp>
Public Member Functions | |
| DisabledEndpointsFirewallRule (const hashset< std::string > &_paths) | |
| ~DisabledEndpointsFirewallRule () override | |
| Option< http::Response > | apply (const network::inet::Socket &, const http::Request &request) override |
| Verify rule by applying it to an HTTP request and its underlying socket connection. More... | |
Public Member Functions inherited from process::firewall::FirewallRule | |
| FirewallRule () | |
| virtual | ~FirewallRule () |
Simple firewall rule to forbid any HTTP request to a path in the provided list of endpoints.
Matches are required to be exact, no substrings nor wildcards are considered for a match.
|
explicit |
|
inlineoverride |
|
inlineoverridevirtual |
Verify rule by applying it to an HTTP request and its underlying socket connection.
| socket | Socket used to deliver the HTTP request. |
| request | HTTP request made by the client to libprocess. |
Implements process::firewall::FirewallRule.
1.8.11