mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Merge 2.5.x build changes back to trunk.
This commit is contained in:
@@ -1282,7 +1282,16 @@ static void * APR_THREAD_FUNC thread_worker(apr_thread_t *thread, void *data)
|
||||
response_buf[0] = 0;
|
||||
response_buf[1] = 1;
|
||||
|
||||
error_log(LOG_DEBUG, thread, "File found, activating cURL.");
|
||||
if (finfo.size == 0) {
|
||||
error_log(LOG_WARNING, thread, "File found (%" APR_SIZE_T_FMT " bytes), skipping.", finfo.size);
|
||||
take_new = 1;
|
||||
nodelay = 1;
|
||||
goto THREAD_CLEANUP;
|
||||
}
|
||||
else {
|
||||
error_log(LOG_DEBUG, thread, "File found (%" APR_SIZE_T_FMT " bytes), activating cURL.", finfo.size);
|
||||
}
|
||||
|
||||
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
|
||||
curl_easy_setopt(curl, CURLOPT_DEBUGFUNCTION, curl_debugfunction);
|
||||
|
Reference in New Issue
Block a user