Index: icp.c
===================================================================
RCS file: /surf1/CVS/squid/src/icp.c,v
retrieving revision 1.61.2.91
diff -w -c -r1.61.2.91 icp.c
*** icp.c 1996/07/25 21:43:42 1.61.2.91
--- icp.c 1996/07/26 16:07:26
***************
*** 212,217 ****
--- 212,218 ----
int size = 0;
int http_code = 0;
int elapsed_msec;
+ hier_code hier_code = HIER_NONE;
if (!icpState)
return 1;
***************
*** 228,233 ****
--- 229,236 ----
http_code = icpState->http_code;
}
elapsed_msec = tvSubMsec(icpState->start, current_time);
+ if (icpState->request)
+ hier_code = icpState->request->hierarchy_code;
CacheInfo->log_append(CacheInfo,
icpState->url,
inet_ntoa(icpState->peer.sin_addr),
***************
*** 236,242 ****
RequestMethodStr[icpState->method],
http_code,
elapsed_msec,
! icpState->request->hierarchy_code);
safe_free(icpState->inbuf);
meta_data.misc -= icpState->inbufsize;
safe_free(icpState->url);
--- 239,245 ----
RequestMethodStr[icpState->method],
http_code,
elapsed_msec,
! hier_code);
safe_free(icpState->inbuf);
meta_data.misc -= icpState->inbufsize;
safe_free(icpState->url);
Received on Fri Jul 26 1996 - 09:12:59 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:42 MST