proxy: log details of a request that fails upstream at the warn level

This commit is contained in:
nick
2013-06-07 12:12:12 +01:00
parent f7e5353355
commit cecf2ebc77

View File

@@ -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;