[prev in list] [next in list] [prev in thread] [next in thread]
List: varnish-commit
Subject: r3475 - trunk/varnish-cache/bin/varnishd
From: phk () projects ! linpro ! no (phk at projects ! linpro ! no)
Date: 2008-12-20 23:27:00
Message-ID: 20081220232700.A790C1EC20C () projects ! linpro ! no
[Download RAW message or body]
Author: phk
Date: 2008-12-21 00:27:00 +0100 (Sun, 21 Dec 2008)
New Revision: 3475
Modified:
trunk/varnish-cache/bin/varnishd/cache.h
trunk/varnish-cache/bin/varnishd/cache_http.c
Log:
Remove http_GetProto(), it's unused.
Modified: trunk/varnish-cache/bin/varnishd/cache.h
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache.h 2008-12-18 12:16:45 UTC (rev 3474)
+++ trunk/varnish-cache/bin/varnishd/cache.h 2008-12-20 23:27:00 UTC (rev 3475)
@@ -476,7 +476,6 @@
const char *field, char **ptr);
int http_GetStatus(const struct http *hp);
const char *http_GetReq(const struct http *hp);
-const char *http_GetProto(const struct http *hp);
int http_HdrIs(const struct http *hp, const char *hdr, const char *val);
int http_DissectRequest(struct sess *sp);
int http_DissectResponse(struct worker *w, const struct http_conn *htc,
Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c 2008-12-18 12:16:45 UTC (rev 3474)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c 2008-12-20 23:27:00 UTC (rev 3475)
@@ -303,14 +303,6 @@
}
const char *
-http_GetProto(const struct http *hp)
-{
-
- Tcheck(hp->hd[HTTP_HDR_PROTO]);
- return (hp->hd[HTTP_HDR_PROTO].b);
-}
-
-const char *
http_GetReq(const struct http *hp)
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic