New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch for http-overflow and more switches in @http #1398
base: master
Are you sure you want to change the base?
Conversation
src/bsd.c
Outdated
@@ -1202,6 +1187,7 @@ handle_curl_msg(CURLMsg *msg) | |||
} | |||
} | |||
if (resp->too_big) { | |||
pe_regs_set_int(resp->pe_regs, PE_REGS_Q, "http-overflow", 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I just set this into %1?
Right now, this is being set into a q-register (and 0 never being set on success, which is bad, as it can cause false-positives) because status & content-type are being set into q-regs on completion. And changing those would be a breaking change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Input still needed on this @talvo
Slight refactoring of the HTTP code in
bsd.c
and adding features to@http
incmds.c
.Added: