diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-01-10 00:17:12 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-08 19:54:29 -0400 |
commit | aca9d45adf4fa0f98b98641ef515882580c0f1f9 (patch) | |
tree | a550a9c34e85598edaf8a2925e921893194982a3 /src/mod_evasive.c | |
parent | a22cdca1cbcfb43edcf5c0b8eaa330b4ec936d52 (diff) | |
download | lighttpd-git-aca9d45adf4fa0f98b98641ef515882580c0f1f9.tar.gz |
[core] move request state into (request_st *)
NB: in the future, a separate connection state may be needed for
connection-level state (different from request state)
Diffstat (limited to 'src/mod_evasive.c')
-rw-r--r-- | src/mod_evasive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_evasive.c b/src/mod_evasive.c index 61fd8b9d..46071469 100644 --- a/src/mod_evasive.c +++ b/src/mod_evasive.c @@ -117,7 +117,7 @@ URIHANDLER_FUNC(mod_evasive_uri_handler) { /* check if other connections are already actively serving data for the same IP * we can only ban connections which are already behind the 'read request' state * */ - if (c->state <= CON_STATE_REQUEST_END) continue; + if (c->request.state <= CON_STATE_REQUEST_END) continue; if (!sock_addr_is_addr_eq(&c->dst_addr, &con->dst_addr)) continue; conns_by_ip++; |