From: Sebastian Hammer Date: Thu, 29 Mar 2007 15:23:17 +0000 (+0000) Subject: ifdeffed-out the Location-header rewrite in proxy_io(). It appears that X-Git-Tag: PAZPAR2.1.0.0~385 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=023342b4f7a64379c65f40652dc25ef436952f3b;p=pazpar2-moved-to-github.git ifdeffed-out the Location-header rewrite in proxy_io(). It appears that recent changes to the request headers has obviated the need for this -- needs more testing. --- diff --git a/src/http.c b/src/http.c index 32b32b4..021d730 100644 --- a/src/http.c +++ b/src/http.c @@ -1,5 +1,5 @@ /* - * $Id: http.c,v 1.15 2007-03-29 09:16:34 marc Exp $ + * $Id: http.c,v 1.16 2007-03-29 15:23:17 quinn Exp $ */ #include @@ -813,6 +813,7 @@ static void proxy_io(IOCHAN pi, int event) htbuf->buf[res] = '\0'; htbuf->offset = 0; htbuf->len = res; +#ifdef GAGA if (pc->first_response) // Check if this is a redirect { int len; @@ -838,6 +839,7 @@ static void proxy_io(IOCHAN pi, int event) } pc->first_response = 0; } +#endif // Write any remaining payload if (htbuf->len - htbuf->offset > 0) http_buf_enqueue(&hc->oqueue, htbuf);