mirror of
https://github.com/ADD-SP/ngx_waf.git
synced 2026-04-26 14:05:52 +03:00
[PR #140] perf(CAPTCHA): verify CAPTCHA responses using subrequests instead of libcurl #249
Labels
No labels
MacOS
Nginx
OpenResty
Tengine
bug
documentation
enhancement
needs-investigation
pull-request
question
stale
stale
stale
timeout
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ngx_waf#249
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ADD-SP/ngx_waf/pull/140
Author: @ADD-SP
Created: 3/24/2024
Status: 🔄 Open
Base:
current-dev← Head:add_sp/refactor-replace-libcurl-with-subreq📝 Commits (2)
4641341refactor(modsecurity): remove thread_pool supports for modsecuritydb3af98saving current progress📊 Changes
12 files changed (+150 additions, -1044 deletions)
View changed files
➖
include/ngx_http_waf_module_action.h(+0 -226)📝
include/ngx_http_waf_module_captcha.h(+0 -1)📝
include/ngx_http_waf_module_check.h(+12 -12)📝
include/ngx_http_waf_module_config.h(+0 -4)📝
include/ngx_http_waf_module_core.h(+0 -6)📝
include/ngx_http_waf_module_macro.h(+6 -2)📝
include/ngx_http_waf_module_type.h(+43 -90)➖
src/ngx_http_waf_module_action.c(+0 -430)📝
src/ngx_http_waf_module_config.c(+1 -19)📝
src/ngx_http_waf_module_core.c(+87 -139)📝
src/ngx_http_waf_module_modsecurity.c(+0 -73)📝
src/ngx_http_waf_module_util.c(+1 -42)📄 Description
Summary
This module needs to send HTTP requests to the CAPTCHA server to verify if the CAPTCHA passes. Currently, this was done by the
libcurl, but this blocks the event loop of the Nginx, so replacing it with subrequests is more efficient.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.