r3668 - branches/2.0/varnish-cache/bin/varnishd
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Fri Feb 6 14:28:02 CET 2009
Author: tfheen
Date: 2009-02-06 14:28:01 +0100 (Fri, 06 Feb 2009)
New Revision: 3668
Modified:
branches/2.0/varnish-cache/bin/varnishd/cache.h
branches/2.0/varnish-cache/bin/varnishd/cache_http.c
Log:
Merge r3475: Remove http_GetProto(), it's unused.
Modified: branches/2.0/varnish-cache/bin/varnishd/cache.h
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/cache.h 2009-02-06 13:25:02 UTC (rev 3667)
+++ branches/2.0/varnish-cache/bin/varnishd/cache.h 2009-02-06 13:28:01 UTC (rev 3668)
@@ -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: branches/2.0/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/cache_http.c 2009-02-06 13:25:02 UTC (rev 3667)
+++ branches/2.0/varnish-cache/bin/varnishd/cache_http.c 2009-02-06 13:28:01 UTC (rev 3668)
@@ -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