r3475 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Sun Dec 21 00:27:00 CET 2008
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)
{
More information about the varnish-commit
mailing list