From: phk Date: Fri, 21 Jul 2006 16:06:07 +0000 (+0000) Subject: Fix formatting of responses. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a8c2bcebd6eaa2e96ffa3343874cb49d844a146;p=varnish Fix formatting of responses. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@541 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_http.c b/varnish-cache/bin/varnishd/cache_http.c index 2eaf293f..9315f73c 100644 --- a/varnish-cache/bin/varnishd/cache_http.c +++ b/varnish-cache/bin/varnishd/cache_http.c @@ -622,9 +622,9 @@ http_Write(struct worker *w, struct http *hp, int resp) if (resp) { assert(hp->hd[HTTP_HDR_STATUS].b != NULL); - WRK_WriteH(w, &hp->hd[HTTP_HDR_PROTO], "\r\n"); + WRK_WriteH(w, &hp->hd[HTTP_HDR_PROTO], " "); WRK_WriteH(w, &hp->hd[HTTP_HDR_STATUS], " "); - WRK_WriteH(w, &hp->hd[HTTP_HDR_RESPONSE], " "); + WRK_WriteH(w, &hp->hd[HTTP_HDR_RESPONSE], "\r\n"); } else { assert(hp->hd[HTTP_HDR_URL].b != NULL); WRK_WriteH(w, &hp->hd[HTTP_HDR_REQ], " ");