]> git.kaiwu.me - haproxy.git/commit
[MEDIUM] reorganized request handling to prepare for content-switching
authorWilly Tarreau <w@1wt.eu>
Sun, 17 Dec 2006 07:37:22 +0000 (08:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 17 Dec 2006 07:37:22 +0000 (08:37 +0100)
commit06619265b16dd7f0b2963652cfd1530338616ab8
treed2134d860b87e391cfa75354483268ed83503b00
parent45e73e3cd9679ad5da6f4aa9e62227233d32507a
[MEDIUM] reorganized request handling to prepare for content-switching

The filters are now iterated for FE, FI, BE.

Some grey areas remain :
  - uri_auth has been propagated to the backend, but in fact it
    should be checked at every level (fe, fi, be), depending
    where it is declared, and before the filters.

  - the HTTP method and URI should be stored and propagated everywhere
    they are used. For this, we would need to first apply filters to
    be aware of filter changes which affect them.

  - there seems to be no need anymore for hdr_idx[0] being empty.
    It may contain the start line, which will slightly improve
    performance and make the code easier to read.
src/proto_http.c