char *WS_Alloc(struct ws *ws, unsigned bytes);
char *WS_Dup(struct ws *ws, const char *);
char *WS_Snapshot(struct ws *ws);
-unsigned WS_Used(struct ws *ws);
+unsigned WS_Free(struct ws *ws);
/* rfc2616.c */
int RFC2616_cache_policy(const struct sess *sp, const struct http *hp);
VSL_stats->n_objoverflow++;
if (params->diag_bitmap & 0x40)
WSP(sp, SLT_Debug,
- "Object workspace used %u", WS_Used(o->ws_o));
+ "Object %u workspace free %u", o->xid, WS_Free(o->ws_o));
oh = o->objhead;
if (oh != NULL) {
return;
if (params->diag_bitmap & 0x40)
- VSL(SLT_Debug, 0,
- "Object workspace max used %u", WS_Used(o->ws_o));
+ VSL(SLT_Debug, 0, "Object %u workspace min free %u",
+ o->xid, WS_Free(o->ws_o));
if (o->vary != NULL)
free(o->vary);