From 8a8c2bcebd6eaa2e96ffa3343874cb49d844a146 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 21 Jul 2006 16:06:07 +0000 Subject: [PATCH] Fix formatting of responses. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@541 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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], " "); -- 2.39.5