]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: http: rename the misleading http_check_access_rule
authorWilly Tarreau <w@1wt.eu>
Thu, 27 Dec 2012 09:46:37 +0000 (10:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Dec 2012 13:47:19 +0000 (14:47 +0100)
commit96257ec5c8183b37617a22ba75ab1f2462ca7145
tree261597e3a978a43b518651eafb9f83baa4d9e68c
parent886bb33c06a6277416aecf02940f1fe3b0a373a7
CLEANUP: http: rename the misleading http_check_access_rule

Several bugs were introduced recently due to a misunderstanding of how
this function works and what it was supposed to do. Since it's supposed
to only return the pointer to a rule which aborts further processing of
the request, let's rename it to avoid further issues.

The function was also slightly cleaned up without any functional change.
src/proto_http.c