~ubuntu-branches/ubuntu/vivid/haproxy/vivid

« back to all changes in this revision

Viewing changes to include/proto/proto_http.h

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Cornet
  • Date: 2008-06-20 00:38:50 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080620003850-hvvx94g2xz2l2xbg
Tags: 1.3.15.1-1
* New Upstream Version
* Upgrade standards version to 3.8.0 (no change needed).
* Build with TARGET=linux26 on linux, TARGET=generic on other systems.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
void check_response_for_cacheability(struct session *t, struct buffer *rtr);
82
82
int stats_check_uri_auth(struct session *t, struct proxy *backend);
83
83
void init_proto_http();
84
 
 
85
 
/* used to clear the cookie flags when a transaction failed on the server
86
 
 * designed by the cookie. We clear the CK_VALID bit and set the CK_DOWN.
87
 
 */
88
 
static inline void http_flush_cookie_flags(struct http_txn *txn)
89
 
{
90
 
        if ((txn->flags & TX_CK_MASK) == TX_CK_VALID)
91
 
                txn->flags ^= (TX_CK_VALID | TX_CK_DOWN);
92
 
}
 
84
int http_find_header2(const char *name, int len,
 
85
                      const char *sol, struct hdr_idx *idx,
 
86
                      struct hdr_ctx *ctx);
93
87
 
94
88
#endif /* _PROTO_PROTO_HTTP_H */
95
89