proxy: log details of a request that fails upstream at the warn level
This commit is contained in:
@@ -392,6 +392,10 @@ int proxy_run_request_upstream( struct proxier* proxy )
|
|||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
disconnect:
|
disconnect:
|
||||||
|
warn(
|
||||||
|
"Request was: type=%"PRIu32" from=%"PRIu64" len=%"PRIu32,
|
||||||
|
request->type, request->from, request->len
|
||||||
|
);
|
||||||
proxy_disconnect_from_upstream( proxy );
|
proxy_disconnect_from_upstream( proxy );
|
||||||
#ifdef PREFETCH
|
#ifdef PREFETCH
|
||||||
proxy->prefetch->is_full = 0;
|
proxy->prefetch->is_full = 0;
|
||||||
|
Reference in New Issue
Block a user