Skip to content

perf(CAPTCHA): verify CAPTCHA responses using subrequests instead of libcurl#140

Draft
ADD-SP wants to merge 2 commits into
current-devfrom
add_sp/refactor-replace-libcurl-with-subreq
Draft

perf(CAPTCHA): verify CAPTCHA responses using subrequests instead of libcurl#140
ADD-SP wants to merge 2 commits into
current-devfrom
add_sp/refactor-replace-libcurl-with-subreq

Conversation

@ADD-SP

@ADD-SP ADD-SP commented Mar 24, 2024

Copy link
Copy Markdown
Owner

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.

Introducing multi-threading for CPU intensity work in the Nginx makes no sense.
@ADD-SP ADD-SP changed the title perf(CAPTCHA ): verify CAPTCHA responses using subrequests instead of libcurl perf(CAPTCHA): verify CAPTCHA responses using subrequests instead of libcurl Mar 24, 2024
@ADD-SP ADD-SP self-assigned this Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant