diff options
Diffstat (limited to 'net/http/http_auth.h')
-rw-r--r-- | net/http/http_auth.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/http/http_auth.h b/net/http/http_auth.h index 8f594e2..5557694 100644 --- a/net/http/http_auth.h +++ b/net/http/http_auth.h @@ -21,6 +21,9 @@ class HttpAuth { // Http authentication can be done the the proxy server, origin server, // or both. This enum tracks who the target is. enum Target { + AUTH_NONE = -1, + // We depend on the valid targets (!= AUTH_NONE) being usable as indexes + // in an array, so start from 0. AUTH_PROXY = 0, AUTH_SERVER = 1, }; |