unsigned u = 0;
char *r;
+ VSL(SLT_Response, sp->fd, "%u", sp->obj->response);
+ VSL(SLT_Length, sp->fd, "%u", sp->obj->len);
+
if (l == 0)
l = strlen(b);
vca_write(sp, b, l);
sbuf_finish(w->sb);
sp->obj->header = strdup(sbuf_data(w->sb));
- VSL(SLT_Response, sp->fd, "%u", sp->obj->response);
- VSL(SLT_Length, sp->fd, "%u", sp->obj->len);
-
vca_write_obj(sp, sp->obj->header, 0);
if (http_GetHdr(hp, "Connection", &b) && !strcasecmp(b, "close"))
{
- VSL(SLT_Response, sp->fd, "%u", sp->obj->response);
- VSL(SLT_Length, sp->fd, "%u", sp->obj->len);
vca_write_obj(sp, sp->obj->header, 0);
HSH_Deref(sp->obj);
sp->obj = NULL;