blob: 322bb0eec4418c6145b26c5ea6332936af1f9c2e [file] [log] [blame]
willy tarreau036e1ce2005-12-17 13:46:33 +01001ChangeLog :
2===========
willy tarreau4302f492005-12-18 01:00:37 +01003
Willy Tarreau442e8342010-11-11 23:29:35 +010042010/11/11 : 1.5-dev3
5 - [DOC] fix http-request documentation
6 - [MEDIUM] enable/disable servers from the stats web interface
7 - [MEDIUM] stats: add an admin level
8 - [DOC] stats: document the "stats admin" statement
9 - [MINOR] startup: print the proxy socket which caused an error
10 - [CLEANUP] Remove unneeded chars allocation
11 - [MINOR] config: detect options not supported due to compilation options
12 - [MINOR] Add pattern's fetchs payload and payload_lv
13 - [MINOR] frontend: improve accept-proxy header parsing
14 - [MINOR] frontend: add tcpv6 support on accept-proxy bind
15 - [MEDIUM] Enhance message errors management on binds
16 - [MINOR] Manage unix socket source field on logs
17 - [MINOR] Manage unix socket source field on session dump on sock stats
18 - [MINOR] Support of unix listener sockets for debug and log event messages on frontend.c
19 - [MINOR] Add some tests on sockets family for port remapping and mode transparent.
20 - [MINOR] Manage socket type unix for some logs
21 - [MINOR] Enhance controls of socket's family on acls and pattern fetch
22 - [MINOR] Support listener's sockets unix on http logs.
23 - [MEDIUM] Add supports of bind on unix sockets.
24 - [BUG] stick table purge failure if size less than 255
25 - [BUG] stick table entries expire on counters updates/read or show table, even if there is no "expire" parameter
26 - [MEDIUM] Implement tcp inspect response rules
27 - [DOC] tcp-response content and inspect
28 - [MINOR] new acls fetch req_ssl_hello_type and rep_ssl_hello_type
29 - [DOC] acls rep_ssl_hello and req_ssl_hello
30 - [MEDIUM] Create new protected pattern types CONSTSTRING and CONSTDATA to force memcpy if data from protected areas need to be manipulated.
31 - [DOC] new type binary in stick-table
32 - [DOC] stick store-response and new patterns payload and payload_lv
33 - [MINOR] Manage all types (ip, integer, string, binary) on cli "show table" command
34 - [MEDIUM] Create updates tree on stick table to manage sync.
35 - [MAJOR] Add new files src/peer.c, include/proto/peers.h and include/types/peers.h for sync stick table management
36 - [MEDIUM] Manage peers section parsing and stick table registration on peers.
37 - [MEDIUM] Manage soft stop on peers proxy
38 - [DOC] add documentation for peers section
39 - [MINOR] checks: add support for LDAPv3 health checks
40 - [MINOR] add better support to "mysql-check"
41 - [BUG] Restore info about available active/backup servers
42 - [CONTRIB] Update haproxy.pl
43 - [CONTRIB] Update Cacti Tempates
44 - [CONTRIB] add templates for Cacti.
45 - [BUG] http: don't consider commas as a header delimitor within quotes
46 - [MINOR] support a global jobs counter
47 - [DOC] add a summary about cookie incompatibilities between specs and browsers
48 - [DOC] fix description of cookie "insert" and "indirect" modes
49 - [MEDIUM] http: fix space handling in the request cookie parser
50 - [MEDIUM] http: fix space handling in the response cookie parser
51 - [DOC] fix typo in the queue() definition (backend, not frontend)
52 - [BUG] deinit: unbind listeners before freeing them
53 - [BUG] stream_interface: only call si->release when both dirs are closed
54 - [MEDIUM] buffers: rework the functions to exchange between SI and buffers
55 - [DOC] fix typo in the avg_queue() and be_conn() definition (backend, not frontend)
56 - [MINOR] halog: add '-tc' to sort by termination codes
57 - [MINOR] halog: skip non-traffic logs for -st and -tc
58 - [BUG] stream_sock: cleanly disable the listener in case of resource shortage
59 - [BUILD] stream_sock: previous fix lacked the #include, causing a warning.
60 - [DOC] bind option is "defer-accept", not "defer_accept"
61 - [DOC] missing index entry for http-check send-state
62 - [DOC] tcp-request inspect-delay is for backends too
63 - [BUG] ebtree: string_equal_bits() could return garbage on identical strings
64 - [BUG] stream_sock: try to flush any extra pending request data after a POST
65 - [BUILD] proto_http: eliminate some build warnings with gcc-2.95
66 - [MEDIUM] make it possible to combine http-pretend-keepalived with httpclose
67 - [MEDIUM] tcp-request : don't wait for inspect-delay to expire when the buffer is full
68 - [MEDIUM] checks: add support for HTTP contents lookup
69 - [TESTS] add test-check-expect to test various http-check methods
70 - [MINOR] global: add "tune.chksize" to change the default check buffer size
71 - [MINOR] cookie: add options "maxidle" and "maxlife"
72 - [MEDIUM] cookie: support client cookies with some contents appended to their value
73 - [MINOR] http: make some room in the transaction flags to extend cookies
74 - [MINOR] cookie: add the expired (E) and old (O) flags for request cookies
75 - [MEDIUM] cookie: reassign set-cookie status flags to store more states
76 - [MINOR] add encode/decode function for 30-bit integers from/to base64
77 - [MEDIUM] cookie: check for maxidle and maxlife for incoming dated cookies
78 - [MEDIUM] cookie: set the date in the cookie if needed
79 - [DOC] document the cookie maxidle and maxlife parameters
80 - [BUG] checks: don't log backend down for all zero-weight servers
81 - [MEDIUM] checks: set server state to one state from failure when leaving maintenance
82 - [BUG] config: report correct keywords for "observe"
83 - [MINOR] checks: ensure that we can inherit binary checks from the defaults section
84 - [MINOR] acl: add the http_req_first match
85 - [DOC] fix typos about bind-process syntax
86 - [BUG] cookie: correctly unset default cookie parameters
87 - [MINOR] cookie: add support for the "preserve" option
88 - [BUG] ebtree: fix duplicate strings insertion
89 - [CONTRIB] halog: report per-url counts, errors and times
90 - [CONTRIB] halog: minor speed improvement in timer parser
91 - [MINOR] buffers: add a new request analyser flag for PROXY mode
92 - [MINOR] listener: add the "accept-proxy" option to the "bind" keyword
93 - [MINOR] standard: add read_uint() to parse a delimited unsigned integer
94 - [MINOR] standard: change arg type from const char* to char*
95 - [MINOR] frontend: add a new analyser to parse a proxied connection
96 - [MEDIUM] session: call the frontend_decode_proxy analyser on proxied connections
97 - [DOC] add the proxy protocol's specifications
98 - [DOC] document the 'accept-proxy' bind option
99 - [MINOR] cfgparse: report support of <path> for the 'bind' statements
100 - [DOC] add references to unix socket handling
101 - [MINOR] move MAXPATHLEN definition to compat.h
102 - [MEDIUM] unix sockets: cleanup the error reporting path
103 - [BUG] session: don't stop forwarding of data upon last packet
104 - [CLEANUP] accept: replace some inappropriate Alert() calls with send_log()
105 - [BUILD] peers: shut a printf format warning (key_size is a size_t)
106 - [BUG] accept: don't close twice upon error
107 - [OPTIM] session: don't recheck analysers when buffer flags have not changed
108 - [OPTIM] stream_sock: don't clear FDs that are already cleared
109 - [BUG] proto_tcp: potential bug on pattern fetch dst and dport
110
Willy Tarreau37242fa2010-08-28 19:21:00 +02001112010/08/28 : 1.5-dev2
112 - [MINOR] startup: release unused structs after forking
113 - [MINOR] startup: don't wait for nothing when no old pid remains
114 - [CLEANUP] reference product branch 1.5
115 - [MEDIUM] signals: add support for registering functions and tasks
116 - [MEDIUM] signals: support redistribution of signal zero when stopping
117 - [BUG] http: don't set auto_close if more data are expected
118
Willy Tarreaufc815fd2010-08-25 10:56:53 +02001192010/08/25 : 1.5-dev1
120 - [BUG] stats: session rate limit gets garbaged in the stats
121 - [DOC] mention 'option http-server-close' effect in Tq section
122 - [DOC] summarize and highlight persistent connections behaviour
123 - [DOC] add configuration samples
124 - [BUG] http: dispatch and http_proxy modes were broken for a long time
125 - [BUG] http: the transaction must be initialized even in TCP mode
126 - [BUG] tcp: dropped connections must be counted as "denied" not "failed"
127 - [BUG] consistent hash: balance on all servers, not only 2 !
128 - [CONTRIB] halog: report per-server status codes, errors and response times
129 - [BUG] http: the transaction must be initialized even in TCP mode (part 2)
130 - [BUG] client: always ensure to zero rep->analysers
131 - [BUG] session: clear BF_READ_ATTACHED before next I/O
132 - [BUG] http: automatically close response if req is aborted
133 - [BUG] proxy: connection rate limiting was eating lots of CPU
134 - [BUG] http: report correct flags in case of client aborts during body
135 - [TESTS] refine non-regression tests and add 4 new tests
136 - [BUG] debug: wrong pointer was used to report a status line
137 - [BUG] debug: correctly report truncated messages
138 - [DOC] document the "dispatch" keyword
139 - [BUG] stick_table: fix possible memory leak in case of connection error
140 - [CLEANUP] acl: use 'L6' instead of 'L4' in ACL flags relying on contents
141 - [MINOR] accept: count the incoming connection earlier
142 - [CLEANUP] tcp: move some non tcp-specific layer6 processing out of proto_tcp
143 - [CLEANUP] client: move some ACLs away to their respective locations
144 - [CLEANUP] rename client -> frontend
145 - [MEDIUM] separate protocol-level accept() from the frontend's
146 - [MINOR] proxy: add a list to hold future layer 4 rules
147 - [MEDIUM] config: parse tcp layer4 rules (tcp-request accept/reject)
148 - [MEDIUM] tcp: check for pure layer4 rules immediately after accept()
149 - [OPTIM] frontend: tell the compiler that errors are unlikely to occur
150 - [MEDIUM] frontend: check for LI_O_TCP_RULES in the listener
151 - [MINOR] frontend: only check for monitor-net rules if LI_O_CHK_MONNET is set
152 - [CLEANUP] buffer->cto is not used anymore
153 - [MEDIUM] session: finish session establishment sequence in with I/O handlers
154 - [MEDIUM] session: initialize server-side timeouts after connect()
155 - [MEDIUM] backend: initialize the server stream_interface upon connect()
156 - [MAJOR] frontend: don't initialize the server-side stream_int anymore
157 - [MEDIUM] session: move the conn_retries attribute to the stream interface
158 - [MEDIUM] session: don't assign conn_retries upon accept() anymore
159 - [MINOR] frontend: rely on the frontend and not the backend for INDEPSTR
160 - [MAJOR] frontend: reorder the session initialization upon accept
161 - [MINOR] proxy: add an accept() callback for the application layer
162 - [MAJOR] frontend: split accept() into frontend_accept() and session_accept()
163 - [MEDIUM] stats: rely on the standard session_accept() function
164 - [MINOR] buffer: refine the flags that may wake an analyser up.
165 - [MINOR] stream_sock: don't dereference a non-existing frontend
166 - [MINOR] session: differenciate between accepted connections and received connections
167 - [MEDIUM] frontend: count the incoming connection earlier
168 - [MINOR] frontend: count denied TCP requests separately
169 - [CLEANUP] stick_table: add/clarify some comments
170 - [BUILD] memory: add a few missing parenthesis to the pool management macros
171 - [MINOR] stick_table: add support for variable-sized data
172 - [CLEANUP] stick_table: rename some stksess struct members to avoid confusion
173 - [CLEANUP] stick_table: move pattern to key functions to stick_table.c
174 - [MEDIUM] stick_table: add room for extra data types
175 - [MINOR] stick_table: add support for "conn_cum" data type.
176 - [MEDIUM] stick_table: don't overwrite data when storing an entry
177 - [MINOR] config: initialize stick tables after all the parsing
178 - [MINOR] stick_table: provide functions to return stksess data from a type
179 - [MEDIUM] stick_table: move the server ID to a generic data type
180 - [MINOR] stick_table: enable it for frontends too
181 - [MINOR] stick_table: export the stick_table_key
182 - [MINOR] tcp: add per-source connection rate limiting
183 - [MEDIUM] stick_table: separate storage and update of session entries
184 - [MEDIUM] stick-tables: add a reference counter to each entry
185 - [MINOR] session: add a pointer to the tracked counters for the source
186 - [CLEANUP] proto_tcp: make the config parser a little bit more flexible
187 - [BUG] config: report the correct proxy type in tcp-request errors
188 - [MINOR] config: provide a function to quote args in a more friendly way
189 - [BUG] stick_table: the fix for the memory leak caused a regression
190 - [MEDIUM] backend: support servers on 0.0.0.0
191 - [BUG] stick-table: correctly refresh expiration timers
192 - [MEDIUM] stream-interface: add a ->release callback
193 - [MINOR] proxy: add a "parent" member to the structure
194 - [MEDIUM] session: make it possible to call an I/O handler on both SI
195 - [MINOR] tools: add a fast div64_32 function
196 - [MINOR] freq_ctr: add new types and functions for periods different from 1s
197 - [MINOR] errors: provide new status codes for config parsing functions
198 - [BUG] http: denied requests must not be counted as denied resps in listeners
199 - [MINOR] tools: add a get_std_op() function to parse operators
200 - [MEDIUM] acl: make use of get_std_op() to parse intger ranges
201 - [MAJOR] stream_sock: better wakeup conditions on read()
202 - [BUG] session: analysers must be checked when SI state changes
203 - [MINOR] http: reset analysers to listener's, not frontend's
204 - [MEDIUM] session: support "tcp-request content" rules in backends
205 - [BUILD] always match official tags when doing git-tar
206 - [MAJOR] stream_interface: fix the wakeup conditions for embedded iohandlers
207 - [MEDIUM] buffer: make buffer_feed* support writing non-contiguous chunks
208 - [MINOR] tcp: src_count acl does not have a permanent result
209 - [MAJOR] session: add track-counters to track counters related to the session
210 - [MINOR] stick-table: provide a table lookup function
211 - [MINOR] stick-table: use suffix "_cnt" for cumulated counts
212 - [MEDIUM] session: move counter ACL fetches from proto_tcp
213 - [MEDIUM] session: add concurrent connections counter
214 - [MEDIUM] session: add data in and out volume counters
215 - [MINOR] session: add the trk_conn_cnt ACL keyword to track connection counts
216 - [MEDIUM] session-counters: automatically update tracked connection count
217 - [MINOR] session: add the trk_conn_cur ACL keyword to track concurrent connection
218 - [MINOR] session: add trk_kbytes_* ACL keywords to track data size
219 - [MEDIUM] session: add a counter on the cumulated number of sessions
220 - [MINOR] config: support a comma-separated list of store data types in stick-table
221 - [MEDIUM] stick-tables: add support for arguments to data_types
222 - [MEDIUM] stick-tables: add stored data argument type checking
223 - [MEDIUM] session counters: add conn_rate and sess_rate counters
224 - [MEDIUM] session counters: add bytes_in_rate and bytes_out_rate counters
225 - [MINOR] stktable: add a stktable_update_key() function
226 - [MINOR] session-counters: add a general purpose counter (gpc0)
227 - [MEDIUM] session-counters: add HTTP req/err tracking
228 - [MEDIUM] stats: add "show table [<name>]" to dump a stick-table
229 - [MEDIUM] stats: add "clear table <name> key <value>" to clear table entries
230 - [CLEANUP] stick-table: declare stktable_data_types as extern
231 - [MEDIUM] stick-table: make use of generic types for stored data
232 - [MINOR] stats: correctly report errors on "show table" and "clear table"
233 - [MEDIUM] stats: add the ability to dump table entries matching criteria
234 - [DOC] configuration: document all the new tracked counters
235 - [DOC] stats: document "show table" and "clear table"
236 - [MAJOR] session-counters: split FE and BE track counters
237 - [MEDIUM] tcp: accept the "track-counters" in "tcp-request content" rules
238 - [MEDIUM] session counters: automatically remove expired entries.
239 - [MEDIUM] config: replace 'tcp-request <action>' with "tcp-request connection"
240 - [MEDIUM] session-counters: make it possible to count connections from frontend
241 - [MINOR] session-counters: use "track-sc{1,2}" instead of "track-{fe,be}-counters"
242 - [MEDIUM] session-counters: correctly unbind the counters tracked by the backend
243 - [CLEANUP] stats: use stksess_kill() to remove table entries
244 - [DOC] update the references to session counters and to tcp-request connection
245 - [DOC] cleanup: split a few long lines
246 - [MEDIUM] http: forward client's close when abortonclose is set
247 - [BUG] queue: don't dequeue proxy-global requests on disabled servers
248 - [BUG] stats: global stats timeout may be specified before stats socket.
249 - [BUG] conf: add tcp-request content rules to the correct list
250
Willy Tarreau21475e32010-05-23 08:46:08 +02002512010/05/23 : 1.5-dev0
252 - exact copy of 1.4.6
253
Willy Tarreau5fdd77d2010-05-16 22:34:28 +02002542010/05/16 : 1.4.6
255 - [BUILD] ebtree: update to v6.0.1 to remove references to dprintf()
256 - [CLEANUP] acl: make use of eb_is_empty() instead of open coding the tree's emptiness test
257 - [MINOR] acl: add srv_is_up() to check that a specific server is up or not
258 - [DOC] add a few precisions about the use of RDP cookies
259
Willy Tarreau9d4d9e32010-05-13 22:17:08 +02002602010/05/13 : 1.4.5
261 - [DOC] report minimum kernel version for tproxy in the Makefile
262 - [MINOR] add the "ignore-persist" option to conditionally ignore persistence
263 - [DOC] add the "ignore-persist" option to conditionally ignore persistence
264 - [DOC] fix ignore-persist/force-persist documentation
265 - [BUG] cttproxy: socket fd leakage in check_cttproxy_version
266 - [DOC] doc/configuration.txt: fix typos
267 - [MINOR] option http-pretend-keepalive is both for FEs and BEs
268 - [MINOR] fix possible crash in debug mode with invalid responses
269 - [MINOR] halog: add support for statisticts on status codes
270 - [OPTIM] halog: use a faster zero test in fgets()
271 - [OPTIM] halog: minor speedup by using unlikely()
272 - [OPTIM] halog: speed up fgets2-64 by about 10%
273 - [DOC] refresh the README file and merge the CONTRIB file into it
274 - [MINOR] acl: support loading values from files
275 - [MEDIUM] ebtree: upgrade to version 6.0
276 - [MINOR] acl trees: add flags and union members to store values in trees
277 - [MEDIUM] acl: add ability to insert patterns in trees
278 - [MEDIUM] acl: add tree-based lookups of exact strings
279 - [MEDIUM] acl: add tree-based lookups of networks
280 - [MINOR] acl: ignore empty lines and comments in pattern files
281 - [MINOR] stick-tables: add support for "stick on hdr"
282
Willy Tarreau9508c1c2010-04-07 23:12:24 +02002832010/04/07 : 1.4.4
284 - [BUG] appsession should match the whole cookie name
285 - [CLEANUP] proxy: move PR_O_SSL3_CHK to options2 to release one flag
286 - [MEDIUM] backend: move the transparent proxy address selection to backend
287 - [MINOR] add very fast IP parsing functions
288 - [MINOR] add new tproxy flags for dynamic source address binding
289 - [MEDIUM] add ability to connect to a server from an IP found in a header
290 - [BUILD] config: last patch breaks build without CONFIG_HAP_LINUX_TPROXY
291 - [MINOR] http: make it possible to pretend keep-alive when doing close
292 - [MINOR] config: report "default-server" instead of "(null)" in error messages
293
Willy Tarreau75934a12010-03-30 09:50:08 +02002942010/03/30 : 1.4.3
295 - [CLEANUP] stats: remove printf format warning in stats_dump_full_sess_to_buffer()
296 - [MEDIUM] session: better fix for connection to servers with closed input
297 - [DOC] indicate in the doc how to bind to port ranges
298 - [BUG] backend: L7 hashing must not be performed on incomplete requests
299 - [TESTS] add a simple program to test connection resets
300 - [MINOR] cli: "show errors" should display "backend <NONE>" when backend was not used
301 - [MINOR] config: emit warnings when HTTP-only options are used in TCP mode
302 - [MINOR] config: allow "slowstart 0s"
303 - [BUILD] 'make tags' did not consider files ending in '.c'
304 - [MINOR] checks: add the ability to disable a server in the config
305
Willy Tarreauda618cb2010-03-17 23:41:57 +01003062010/03/17 : 1.4.2
307 - [CLEANUP] product branch update
308 - [DOC] Some more documentation cleanups
309 - [BUG] clf logs segfault when capturing a non existant header
310 - [OPTIM] config: only allocate check buffer when checks are enabled
311 - [MEDIUM] checks: support multi-packet health check responses
312 - [CLEANUP] session: remove duplicate test
313 - [BUG] http: don't wait for response data to leave buffer is client has left
314 - [MINOR] proto_uxst: set accept_date upon accept() to the wall clock time
315 - [MINOR] stats: don't send empty lines in "show errors"
316 - [MINOR] stats: make the data dump function reusable for other purposes
317 - [MINOR] stats socket: add show sess <id> to dump details about a session
318 - [BUG] stats: connection reset counters must be plain ascii, not HTML
319 - [BUG] url_param hash may return a down server
320 - [MINOR] force null-termination of hostname
321 - [MEDIUM] connect to servers even when the input has already been closed
322 - [BUG] don't merge anonymous ACLs !
323 - [BUG] config: fix endless loop when parsing "on-error"
324 - [MINOR] http: don't mark a server as failed when it returns 501/505
325 - [OPTIM] checks: try to detect the end of response without polling again
326 - [BUG] checks: don't report an error when recv() returns an error after data
327 - [BUG] checks: don't abort when second poll returns an error
328 - [MINOR] checks: make shutdown() silently fail
329 - [BUG] http: fix truncated responses on chunk encoding when size divides buffer size
330 - [BUG] init: unconditionally catch SIGPIPE
331 - [BUG] checks: don't wait for a close to start parsing the response
332
Willy Tarreauc5e60c32010-03-04 23:39:19 +01003332010/03/04 : 1.4.1
334 - [BUG] Clear-cookie path issue
335 - [DOC] fix typo on stickiness rules
336 - [BUILD] fix BSD and OSX makefiles for missing files
337 - [BUILD] includes order breaks OpenBSD build
338 - [BUILD] fix some build warnings on Solaris with is* macros
339 - [BUG] logs: don't report "last data" when we have just closed after an error
340 - [BUG] logs: don't report "proxy request" when server closes early
341 - [BUILD] fix platform-dependant build issues related to crypt()
342 - [STATS] count transfer aborts caused by client and by server
343 - [STATS] frontend requests were not accounted for failed requests
344 - [MINOR] report total number of processed connections when stopping a proxy
345 - [DOC] be more clear about the limitation to one single monitor-net entry
346
Willy Tarreaue18fdfd2010-02-26 14:55:22 +01003472010/02/26 : 1.4.0
348 - [MINOR] stats: report maint state for tracking servers too
349 - [DOC] fix summary to add pattern extraction
350 - [DOC] Documentation cleanups
351 - [BUG] cfgparse memory leak and missing free calls in deinit()
352 - [BUG] pxid/puid/luid: don't shift IDs when some of them are forced
353 - [EXAMPLES] add auth.cfg
354 - [BUG] uri_auth: ST_SHLGNDS should be 0x00000008 not 0x0000008
355 - [BUG] uri_auth: do not attemp to convert uri_auth -> http-request more than once
356 - [BUILD] auth: don't use unnamed unions
357 - [BUG] config: report unresolvable host names as errors
358 - [BUILD] fix build breakage with DEBUG_FULL
359 - [DOC] fix a typo about timeout check and clarify the explanation.
360 - [MEDIUM] http: don't use trash to realign large buffers
361 - [STATS] report HTTP requests (total and rate) in frontends
362 - [STATS] separate frontend and backend HTTP stats
363 - [MEDIUM] http: revert to use a swap buffer for realignment
364 - [MINOR] stats: report the request rate in frontends as cell titles
365 - [MINOR] stats: mark areas with an underline when tooltips are available
366 - [DOC] reorder some entries to maintain the alphabetical order
367 - [DOC] cleanup of the keyword matrix
368
Willy Tarreaub05613d2010-02-02 10:18:28 +01003692010/02/02 : 1.4-rc1
370 - [MEDIUM] add a maintenance mode to servers
371 - [MINOR] http-auth: last fix was wrong
372 - [CONTRIB] add base64rev-gen.c that was used to generate the base64rev table.
373 - [MINOR] Base64 decode
374 - [MINOR] generic auth support with groups and encrypted passwords
375 - [MINOR] add ACL_TEST_F_NULL_MATCH
376 - [MINOR] http-request: allow/deny/auth support for frontend/backend/listen
377 - [MINOR] acl: add http_auth and http_auth_group
378 - [MAJOR] use the new auth framework for http stats
379 - [DOC] add info about userlists, http-request and http_auth/http_auth_group acls
380 - [STATS] make it possible to change a CLI connection timeout
381 - [BUG] patterns: copy-paste typo in type conversion arguments
382 - [MINOR] pattern: make the converter more flexible by supporting void* and int args
383 - [MINOR] standard: str2mask: string to netmask converter
384 - [MINOR] pattern: add support for argument parsers for converters
385 - [MINOR] pattern: add the "ipmask()" converting function
386 - [MINOR] config: off-by-one in "stick-table" after list of converters
387 - [CLEANUP] acl, patterns: make use of my_strndup() instead of malloc+memcpy
388 - [BUG] restore accidentely removed line in last patch !
389 - [MINOR] checks: make the HTTP check code add the CRLF itself
390 - [MINOR] checks: add the server's status in the checks
391 - [BUILD] halog: make without arch-specific optimizations
392 - [BUG] halog: fix segfault in case of empty log in PCT mode (cherry picked from commit fe362fe4762151d209b9656639ee1651bc2b329d)
393 - [MINOR] http: disable keep-alive when process is going down
394 - [MINOR] acl: add build_acl_cond() to make it easier to add ACLs in config
395 - [CLEANUP] config: use build_acl_cond() instead of parse_acl_cond()
396 - [CLEANUP] config: use warnif_cond_requires_resp() to check for bad ACLs
397 - [MINOR] prepare req_*/rsp_* to receive a condition
398 - [CLEANUP] config: specify correct const char types to warnif_* functions
399 - [MEDIUM] config: factor out the parsing of 20 req*/rsp* keywords
400 - [MEDIUM] http: make the request filter loop check for optional conditions
401 - [MEDIUM] http: add support for conditional request filter execution
402 - [DOC] add some build info about the AIX platform (cherry picked from commit e41914c77edbc40aebf827b37542d37d758e371e)
403 - [MEDIUM] http: add support for conditional request header addition
404 - [MEDIUM] http: add support for conditional response header rewriting
405 - [DOC] add some missing ACLs about response header matching
406 - [MEDIUM] http: add support for proxy authentication
407 - [MINOR] http-auth: make the 'unless' keyword work as expected
408 - [CLEANUP] config: use build_acl_cond() to simplify http-request ACL parsing
409 - [MEDIUM] add support for anonymous ACLs
410 - [MEDIUM] http: switch to tunnel mode after status 101 responses
411 - [MEDIUM] http: stricter processing of the CONNECT method
412 - [BUG] config: reset check request to avoid double free when switching to ssl/sql
413 - [MINOR] config: fix too large ssl-hello-check message.
414 - [BUG] fix error response in case of server error
415
Willy Tarreau2eba6aa2010-01-25 23:28:05 +01004162010/01/25 : 1.4-dev8
417 - [CLEANUP] Keep in sync "defaults" support between documentation and code
418 - [MEDIUM] http: add support for Proxy-Connection header
419 - [CRITICAL] buffers: buffer_insert_line2 must not change the ->w entry
420 - [MINOR] http: remove a copy-paste typo in transaction cleaning
421 - [BUG] http: trim any excess buffer data when recycling a connection
422
Willy Tarreau6939b552010-01-25 01:54:37 +01004232010/01/25 : 1.4-dev7
424 - [BUG] appsession: possible memory leak in case of out of memory condition
425 - [MINOR] config: don't accept 'appsession' in defaults section
426 - [MINOR] Add function to parse a size in configuration
427 - [MEDIUM] Add stick table (persistence) management functions and types
428 - [MEDIUM] Add pattern fetch management types and functions
429 - [MEDIUM] Add src dst and dport pattern fetches.
430 - [MEDIUM] Add stick table configuration and init.
431 - [MEDIUM] Add stick and store rules analysers.
432 - [MINOR] add option "mysql-check" to use MySQL health checks
433 - [BUG] health checks: fix requeued message
434 - [OPTIM] remove SSP_O_VIA and SSP_O_STATUS
435 - [BUG] checks: fix newline termination
436 - [MINOR] acl: add fe_id/so_id to match frontend's and socket's id
437 - [BUG] appsession's sessid must be reset at end of transaction
438 - [BUILD] appsession did not build anymore under gcc-2.95
439 - [BUG] server redirection used an uninitialized string.
440 - [MEDIUM] http: fix handling of message pointers
441 - [MINOR] http: fix double slash prefix with server redirect
442 - [MINOR] http redirect: add the ability to append a '/' to the URL
443 - [BUG] stream_interface: fix retnclose and remove cond_close
444 - [MINOR] http redirect: don't explicitly state keep-alive on 1.1
445 - [MINOR] http: move appsession 'sessid' from session to http_txn
446 - [OPTIM] reorder http_txn to optimize cache lines placement
447 - [MINOR] http: differentiate waiting for new request and waiting for a complete requst
448 - [MINOR] http: add a separate "http-keep-alive" timeout
449 - [MINOR] config: remove undocumented and buggy 'timeout appsession'
450 - [DOC] fix various too large lines
451 - [DOC] remove several trailing spaces
452 - [DOC] add the doc about stickiness
453 - [BUILD] remove a warning in standard.h on AIX
454 - [BUG] checks: chars are unsigned on AIX, check was always true
455 - [CLEANUP] stream_sock: MSG_NOSIGNAL is only for send(), not recv()
456 - [BUG] check: we must not check for error before reading a response
457 - [BUG] buffers: remove remains of wrong obsolete length check
458 - [OPTIM] stream_sock: don't shutdown(write) when the socket is in error
459 - [BUG] http: don't count req errors on client resets or t/o during keep-alive
460 - [MEDIUM] http: don't switch to tunnel mode upon close
461 - [DOC] add documentation about connection header processing
462 - [MINOR] http: add http_remove_header2() to remove a header value.
463 - [MINOR] tools: add a "word_match()" function to match words and ignore spaces
464 - [MAJOR] http: rework request Connection header handling
465 - [MAJOR] http: rework response Connection header handling
466 - [MINOR] add the ability to force kernel socket buffer size.
467 - [BUG] http_server_error() must not purge a previous pending response
468 - [OPTIM] http: don't delay response if next request is incomplete
469 - [MINOR] add the "force-persist" statement to force persistence on down servers
470 - [MINOR] http: logs must report persistent connections to down servers
471 - [BUG] buffer_replace2 must never change the ->w entry
472
Willy Tarreau11f8f542010-01-08 07:49:44 +01004732010/01/08 : 1.4-dev6
474 - [BUILD] warning in stream_interface.h
475 - [BUILD] warning ultoa_r returns char *
476 - [MINOR] hana: only report stats if it is enabled
477 - [MINOR] stats: add "a link" & "a href" for sockets
478 - [MINOR]: stats: add show-legends to report additional informations
479 - [MEDIUM] default-server support
480 - [BUG]: add 'observer', 'on-error', 'error-limit' to supported options list
481 - [MINOR] stats: add href to tracked server
482 - [BUG] stats: show UP/DOWN status also in tracking servers
483 - [DOC] Restore ability to search a keyword at the beginning of a line
484 - [BUG] stats: cookie should be reported under backend not under proxy
485 - [BUG] cfgparser/stats: fix error message
486 - [BUG] http: disable auto-closing during chunk analysis
487 - [BUG] http: fix hopefully last closing issue on data forwarding
488 - [DEBUG] add an http_silent_debug function to debug HTTP states
489 - [MAJOR] http: fix again the forward analysers
490 - [BUG] http_process_res_common() must not skip the forward analyser
491 - [BUG] http: some possible missed close remain in the forward chain
492 - [BUG] http: redirect needed to be updated after recent changes
493 - [BUG] http: don't set no-linger on response in case of forced close
494 - [MEDIUM] http: restore the original behaviour of option httpclose
495 - [TESTS] add a file to test various connection modes
496 - [BUG] http: check options before the connection header
497 - [MAJOR] session: fix the order by which the analysers are run
498 - [MEDIUM] session: also consider request analysers added during response
499 - [MEDIUM] http: make safer use of the DONT_READ and AUTO_CLOSE flags
500 - [BUG] http: memory leak with captures when using keep-alive
501 - [BUG] http: fix for capture memory leak was incorrect
502 - [MINOR] http redirect: use proper call to return last response
503 - [MEDIUM] http: wait for some flush of the response buffer before a new request
504 - [MEDIUM] session: limit the number of analyser loops
505
Willy Tarreau1f445892010-01-03 23:23:36 +01005062010/01/03 : 1.4-dev5
507 - [MINOR] server tracking: don't care about the tracked server's mode
508 - [MEDIUM] appsession: add "len", "prefix" and "mode" options
509 - [MEDIUM] appsession: add the "request-learn" option
510 - [BUG] Configuration parser bug when escaping characters
511 - [MINOR] CSS & HTML fun
512 - [MINOR] Collect & provide http response codes received from servers
513 - [BUG] Fix silly typo: hspr_other -> hrsp_other
514 - [MINOR] Add "a name" to stats page
515 - [MINOR] add additional "a href"s to stats page
516 - [MINOR] Collect & provide http response codes for frontends, fix backends
517 - [DOC] some small spell fixes and unifications
518 - [MEDIUM] Decrease server health based on http responses / events, version 3
519 - [BUG] format '%d' expects type 'int', but argument 5 has type 'long int'
520 - [BUG] config: fix erroneous check on cookie domain names, again
521 - [BUG] Healthchecks: get a proper error code if connection cannot be completed immediately
522 - [DOC] trivial fix for man page
523 - [MINOR] config: report all supported options for the "bind" keyword
524 - [MINOR] tcp: add support for the defer_accept bind option
525 - [MINOR] unix socket: report the socket path in case of bind error
526 - [CONTRIB] halog: support searching by response time
527 - [DOC] add a reminder about obsolete documents
528 - [DOC] point to 1.4 doc, not 1.3
529 - [DOC] option tcp-smart-connect was missing from index
530 - [MINOR] http: detect connection: close earlier
531 - [CLEANUP] sepoll: clean up the fd_clr/fd_set functions
532 - [OPTIM] move some rarely used fields out of fdtab
533 - [MEDIUM] fd: merge fd_list into fdtab
534 - [MAJOR] buffer: flag BF_DONT_READ to disable reads when not required
535 - [MINOR] http: add new transaction flags for keep-alive and content-length
536 - [MEDIUM] http request: parse connection, content-length and transfer-encoding
537 - [MINOR] http request: update the TX_SRV_CONN_KA flag on rewrite
538 - [MINOR] http request: simplify the test of no-data
539 - [MEDIUM] http request: simplify POST length detection
540 - [MEDIUM] http request: make use of pre-parsed transfer-encoding header
541 - [MAJOR] http: create the analyser which waits for a response
542 - [MINOR] http: pre-set the persistent flags in the transaction
543 - [MEDIUM] http response: check body length and set transaction flags
544 - [MINOR] http response: update the TX_CLI_CONN_KA flag on rewrite
545 - [MINOR] http: remove the last call to stream_int_return
546 - [IMPORT] import ebtree v5.0 into directory ebtree/
547 - [MEDIUM] build: switch ebtree users to use new ebtree version
548 - [CLEANUP] ebtree: remove old unused files
549 - [BUG] definitely fix regparm issues between haproxy core and ebtree
550 - [CLEANUP] ebtree: cast to char * to get rid of gcc warning
551 - [BUILD] missing #ifndef in ebmbtree.h
552 - [BUILD] missing #ifndef in ebsttree.h
553 - [MINOR] tools: add hex2i() function to convert hex char to int
554 - [MINOR] http: create new MSG_BODY sub-states
555 - [BUG] stream_sock: BUF_INFINITE_FORWARD broke splice on 64-bit platforms
556 - [DOC] option is "defer-accept", not "defer_accept"
557 - [MINOR] http: keep pointer to beginning of data
558 - [BUG] x-original-to: name was not set in default instance
559 - [MINOR] http: detect tunnel mode and set it in the session
560 - [BUG] config: fix error message when config file is not found
561 - [BUG] config: fix wrong handling of too large argument count
562 - [BUG] config: disable 'option httplog' on TCP proxies
563 - [BUG] config: fix erroneous check on cookie domain names
564 - [BUG] config: cookie domain was ignored in defaults sections
565 - [MINOR] config: support passing multiple "domain" statements to cookies
566 - [MINOR] ebtree: add functions to lookup non-null terminated strings
567 - [MINOR] config: don't report error on all subsequent files on failure
568 - [BUG] second fix for the printf format warning
569 - [BUG] check_post: limit analysis to the buffer length
570 - [MEDIUM] http: process request body in a specific analyser
571 - [MEDIUM] backend: remove HTTP POST parsing from get_server_ph_post()
572 - [MAJOR] http: completely process the "connection" header
573 - [MINOR] http: only consider chunk encoding with HTTP/1.1
574 - [MAJOR] buffers: automatically compute the maximum buffer length
575 - [MINOR] http: move the http transaction init/cleanup code to proto_http
576 - [MINOR] http: move 1xx handling earlier to eliminate a lot of ifs
577 - [MINOR] http: introduce a new synchronisation state : HTTP_MSG_DONE
578 - [MEDIUM] http: rework chunk-size parser
579 - [MEDIUM] http: add a new transaction flags indicating if we know the transfer length
580 - [MINOR] buffers: add buffer_ignore() to skip some bytes
581 - [BUG] http: offsets are relative to the buffer, not to ->som
582 - [MEDIUM] http: automatically re-aling request buffer
583 - [BUG] http: body parsing must consider the start of message
584 - [MINOR] new function stream_int_cond_close()
585 - [MAJOR] http: implement body parser
586 - [BUG] http: typos on several unlikely() around header insertion
587 - [BUG] stream_sock: wrong max computation on recv
588 - [MEDIUM] http: rework the buffer alignment logic
589 - [BUG] buffers: wrong size calculation for displaced data
590 - [MINOR] stream_sock: prepare for closing when all pending data are sent
591 - [MEDIUM] http: add two more states for the closing period
592 - [MEDIUM] http: properly handle "option forceclose"
593 - [MINOR] stream_sock: add SI_FL_NOLINGER for faster close
594 - [MEDIUM] http: make forceclose use SI_FL_NOLINGER
595 - [MEDIUM] session: set SI_FL_NOLINGER when aborting on write timeouts
596 - [MEDIUM] http: add some SI_FL_NOLINGER around server errors
597 - [MINOR] config: option forceclose is valid in frontends too
598 - [BUILD] halog: insufficient include path in makefile
599 - [MEDIUM] http: make the analyser not rely on msg being initialized anymore
600 - [MEDIUM] http: make the parsers able to wait for a buffer flush
601 - [MAJOR] http: add support for option http-server-close
602 - [BUG] http: ensure we abort data transfer on write error
603 - [BUG] last fix was overzealous and disabled server-close
604 - [BUG] http: fix erroneous trailers size computation
605 - [MINOR] stream_sock: enable MSG_MORE when forwarding finite amount of data
606 - [OPTIM] http: set MSG_MORE on response when a pipelined request is pending
607 - [BUG] http: redirects were broken by chunk changes
608 - [BUG] http: the request URI pointer is relative to the buffer
609 - [OPTIM] http: don't immediately enable reading on request
610 - [MINOR] http: move redirect messages to HTTP/1.1 with a content-length
611 - [BUG] http: take care of errors, timeouts and aborts during the data phase
612 - [MINOR] http: don't wait for sending requests to the server
613 - [MINOR] http: make the conditional redirect support keep-alive
614 - [BUG] http: fix cookie parser to support spaces and commas in values
615 - [MINOR] config: some options were missing for "redirect"
616 - [MINOR] redirect: add support for unconditional rules
617 - [MINOR] config: centralize proxy struct initialization
618 - [MEDIUM] config: remove the limitation of 10 reqadd/rspadd statements
619 - [MEDIUM] config: remove the limitation of 10 config files
620 - [CLEANUP] http: remove a remaining impossible condition
621 - [OPTIM] http: optimize a bit the construct of the forward loops
622
Willy Tarreauc82a9e52009-10-12 06:40:53 +02006232009/10/12 : 1.4-dev4
624 - [DOC] add missing rate_lim and rate_max
625 - [MAJOR] struct chunk rework
626 - [MEDIUM] Health check reporting code rework + health logging, v3
627 - [BUG] check if rise/fall has an argument and it is > 0
628 - [MINOR] health checks logging unification
629 - [MINOR] add "description", "node" and show-node"/"show-desc", remove "node-name", v2
630 - [MINOR] Allow dots in show-node & add "white-space: nowrap" in th.pxname.
631 - [DOC] Add information about http://haproxy.1wt.eu/contrib.html
632 - [MINOR] Introduce include/types/counters.h
633 - [CLEANUP] Move counters to dedicated structures
634 - [MINOR] Add "clear counters" to clear statistics counters
635 - [MEDIUM] Collect & provide separate statistics for sockets, v2
636 - [BUG] Fix NULL pointer dereference in stats_check_uri_auth(), v2
637 - [MINOR] acl: don't report valid acls as potential mistakes
638 - [MINOR] Add cut_crlf(), ltrim(), rtrim() and alltrim()
639 - [MINOR] Add chunk_htmlencode and chunk_asciiencode
640 - [MINOR] Capture & display more data from health checks, v2
641 - [BUG] task.c: don't assing last_timer to node-less entries
642 - [BUG] http stats: large outputs sometimes got some parts chopped off
643 - [MINOR] backend: export some functions to recount servers
644 - [MINOR] backend: uninline some LB functions
645 - [MINOR] include time.h from freq_ctr.h as is uses "now".
646 - [CLEANUP] backend: move LB algos to individual files
647 - [MINOR] lb_map: reorder code in order to ease integration of new hash functions
648 - [CLEANUP] proxy: move last lb-specific bits to their respective files
649 - [MINOR] backend: separate declarations of LB algos from their lookup method
650 - [MINOR] backend: reorganize the LB algorithm selection
651 - [MEDIUM] backend: introduce the "static-rr" LB algorithm
652 - [MINOR] report list of supported pollers with -vv
653 - [DOC] log-health-checks is an option, not a directive
654 - [MEDIUM] new option "independant-streams" to stop updating read timeout on writes
655 - [BUG] stats: don't call buffer_shutw(), but ->shutw() instead
656 - [MINOR] stats: strip CR and LF from the input command line
657 - [BUG] don't refresh timeouts late after detected activity
658 - [MINOR] stats_dump_errors_to_buffer: use buffer_feed_chunk()
659 - [MINOR] stats_dump_sess_to_buffer: use buffer_feed_chunk()
660 - [MINOR] stats: make stats_dump_raw_to_buffer() use buffer_feed_chunk
661 - [MEDIUM] stats: don't use s->ana_state anymore
662 - [MINOR] remove now obsolete ana_state from the session struct
663 - [MEDIUM] stats: make HTTP stats use an I/O handler
664 - [MEDIUM] stream_int: adjust WAIT_ROOM handling
665 - [BUG] config: look for ID conflicts in all sockets, not only last ones.
666 - [MINOR] config: reference file and line with any listener/proxy/server declaration
667 - [MINOR] config: report places of duplicate names or IDs
668 - [MINOR] config: add pointer to file name in block/redirect/use_backend/monitor rules
669 - [MINOR] tools: add a new get_next_id() function
670 - [MEDIUM] config: automatically find unused IDs for proxies, servers and listeners
671 - [OPTIM] counters: move some max numbers to the counters struct
672 - [BUG] counters: fix segfault on missing counters for a listener
673 - [MEDIUM] backend: implement consistent hashing variation
674 - [MINOR] acl: add fe_conn, be_conn, queue, avg_queue
675 - [MINOR] stats: use 'clear counters all' to clear all values
676 - [MEDIUM] add access restrictions to the stats socket
677 - [MINOR] buffers: add buffer_feed2() and make buffer_feed() measure string length
678 - [MINOR] proxy: provide function to retrieve backend/server pointers
679 - [MINOR] add the "initial weight" to the server struct.
680 - [MEDIUM] stats: add the "get weight" command to report a server's weight
681 - [MEDIUM] stats: add the "set weight" command
682 - [BUILD] add a 'make tags' target
683 - [MINOR] stats: add support for numeric IDs in set weight/get weight
684 - [MINOR] stats: use a dedicated state to output static data
685 - [OPTIM] stats: check free space before trying to print
686
Willy Tarreau9f389e02009-09-24 00:12:50 +02006872009/09/24 : 1.4-dev3
688 - [BUILD] compilation of haproxy-1.4-dev2 on FreeBSD
689 - [MEDIUM] Collect & show information about last health check, v3
690 - [MINOR] export the hostname variable so that all the code can access it
691 - [MINOR] stats: add a new node-name setting
692 - [MEDIUM] remove old experimental tcpsplice option
693 - [BUILD] fix build for systems without SOL_TCP
694 - [MEDIUM] move connection establishment from backend to the SI.
695 - [MEDIUM] make the global stats socket part of a frontend
696 - [MEDIUM] session: account per-listener connections
697 - [MINOR] session: switch to established state if no connect function
698 - [MEDIUM] make the unix stats sockets use the generic session handler
699 - [CLEANUP] unix: remove uxst_process_session()
700 - [CLEANUP] move remaining stats sockets code to dumpstats
701 - [MINOR] move the initial task's nice value to the listener
702 - [MINOR] cleanup set_session_backend by using pre-computed analysers
703 - [MINOR] set s->srv_error according to the analysers
704 - [MEDIUM] set rep->analysers from fe and be analysers
705 - [MEDIUM] replace BUFSIZE with buf->size in computations
706 - [MEDIUM] make it possible to change the buffer size in the configuration
707 - [MEDIUM] report error on buffer writes larger than buffer size
708 - [MEDIUM] stream_interface: add and use ->update function to resync
709 - [CLEANUP] remove ifdef MSG_NOSIGNAL and define it instead
710 - [MEDIUM] remove TCP_CORK and make use of MSG_MORE instead
711 - [BUG] tarpit did not work anymore
712 - [MINOR] acl: add support for hdr_ip to match IP addresses in headers
713 - [MAJOR] buffers: fix misuse of the BF_SHUTW_NOW flag
714 - [MINOR] buffers: provide more functions to handle buffer data
715 - [MEDIUM] buffers: provide new buffer_feed*() function
716 - [MINOR] buffers: add peekchar and peekline functions for stream interfaces
717 - [MINOR] buffers: provide buffer_si_putchar() to send a char from a stream interface
718 - [BUG] buffer_forward() would not correctly consider data already scheduled
719 - [MINOR] buffers: add buffer_cut_tail() to cut only unsent data
720 - [MEDIUM] stream_interface: make use of buffer_cut_tail() to report errors
721 - [MAJOR] http: add support for HTTP 1xx informational responses
722 - [MINOR] buffers: inline buffer_si_putchar()
723 - [MAJOR] buffers: split BF_WRITE_ENA into BF_AUTO_CONNECT and BF_AUTO_CLOSE
724 - [MAJOR] buffers: fix the BF_EMPTY flag's meaning
725 - [BUG] stream_interface: SI_ST_CLO must have buffers SHUT
726 - [MINOR] stream_sock: don't set SI_FL_WAIT_DATA if BF_SHUTW_NOW is set
727 - [MEDIUM] add support for infinite forwarding
728 - [BUILD] stream_interface: fix conflicting declaration
729 - [BUG] buffers: buffer_forward() must not always clear BF_OUT_EMPTY
730 - [BUG] variable buffer size ignored at initialization time
731 - [MINOR] ensure that buffer_feed() and buffer_skip() set BF_*_PARTIAL
732 - [BUG] fix buffer_skip() and buffer_si_getline() to correctly handle wrap-arounds
733 - [MINOR] stream_interface: add SI_FL_DONT_WAKE flag
734 - [MINOR] stream_interface: add iohandler callback
735 - [MINOR] stream_interface: add functions to support running as internal/external tasks
736 - [MEDIUM] session: call iohandler for embedded tasks (applets)
737 - [MINOR] add a ->private member to the stream_interface
738 - [MEDIUM] stats: prepare the connection for closing before dumping
739 - [MEDIUM] stats: replace the stats socket analyser with an SI applet
740
Willy Tarreau68dcd252009-08-09 22:57:09 +02007412009/08/09 : 1.4-dev2
742 - [BUG] task: fix possible crash when some timeouts are not configured
743 - [BUG] log: option tcplog would log to global if no logger was defined
744
Willy Tarreaub03d2982009-07-29 22:38:32 +02007452009/07/29 : 1.4-dev1
746 - [MINOR] acl: add support for matching of RDP cookies
747 - [MEDIUM] add support for RDP cookie load-balancing
748 - [MEDIUM] add support for RDP cookie persistence
749 - [MINOR] add a new CLF log format
750 - [MINOR] startup: don't imply -q with -D
751 - [BUG] ensure that we correctly re-start old process in case of error
752 - [MEDIUM] add support for binding to source port ranges during connect
753 - [MINOR] config: track "no option"/"option" changes
754 - [MINOR] config: support resetting options do default values
755 - [MEDIUM] implement option tcp-smart-accept at the frontend
756 - [MEDIUM] stream_sock: implement tcp-cork for use during shutdowns on Linux
757 - [MEDIUM] implement tcp-smart-connect option at the backend
758 - [MEDIUM] add support for TCP MSS adjustment for listeners
759 - [MEDIUM] support setting a server weight to zero
760 - [MINOR] make DEFAULT_MAXCONN user-configurable at build time
761 - [MAJOR] session: don't clear buffer status flags anymore
762 - [MAJOR] session: only check for timeouts when they have just occurred.
763 - [MAJOR] session: simplify buffer error handling
764 - [MEDIUM] config: split parser and checker in two functions
765 - [MEDIUM] config: support loading multiple configuration files
766 - [MEDIUM] stream_sock: don't close prematurely when nolinger is set
767 - [MEDIUM] session: rework buffer analysis to permit permanent analysers
768 - [MEDIUM] splice: set the capability on each stream_interface
769 - [BUG] http: redirect rules were processed too early
770 - [CLEANUP] remove unused DEBUG_PARSE_NO_SPEEDUP define
771 - [MEDIUM] http: split request waiter from request processor
772 - [MEDIUM] session: tell analysers what bit they were called for
773 - [MAJOR] http: complete splitting of the remaining stages
774 - [MINOR] report in the proxies the requirements for ACLs
775 - [MINOR] http: rely on proxy->acl_requires to allocate hdr_idx
776 - [MINOR] acl: add HTTP protocol detection (req_proto_http)
777 - [MINOR] prepare callers of session_set_backend to handle errors
778 - [BUG] default ACLs did not properly set the ->requires flag
779 - [MEDIUM] allow a TCP frontend to switch to an HTTP backend
780 - [MINOR] ensure we can jump from swiching rules to http without data
781 - [MINOR] http: take http request timeout from the backend
782 - [MINOR] allow TCP inspection rules to make use of HTTP ACLs
783 - [BUILD] report commit date and not author's date as build date
784 - [MINOR] acl: don't complain anymore when using L7 acls in TCP
785 - [BUG] stream_sock: always shutdown(SHUT_WR) before closing
786 - [BUG] stream_sock: don't stop reading when the poller reports an error
787 - [BUG] config: tcp-request content only accepts "if" or "unless"
788 - [BUG] task: fix possible timer drift after update
789 - [MINOR] apply tcp-smart-connect option for the checks too
790 - [MINOR] stats: better displaying in MSIE
791 - [MINOR] config: improve error reporting in global section
792 - [MINOR] config: improve error reporting in listen sections
793 - [MINOR] config: the "capture" keyword is not allowed in backends
794 - [MINOR] config: improve error reporting when checking configuration
795 - [BUILD] fix a minor build warning on AIX
796 - [BUILD] use "git cmd" instead of "git-cmd"
797 - [CLEANUP] report 2009 not 2008 in the copyright banner.
798 - [MINOR] print usage on the stats sockets upon invalid commands
799 - [MINOR] acl: detect and report potential mistakes in ACLs
800 - [BUILD] fix incorrect printf arg count with tcp_splice
801 - [BUG] fix random pauses on last segment of a series
802 - [BUILD] add support for build under Cygwin
803
Willy Tarreau79158882009-06-09 11:59:08 +02008042009/06/09 : 1.4-dev0
805 - exact copy of 1.3.18
806
Willy Tarreaubeb05ae2009-05-10 20:27:47 +02008072009/05/10 : 1.3.18
808 - [MEDIUM] add support for "balance hdr(name)"
809 - [CLEANUP] give a little bit more information in error message
810 - [MINOR] add X-Original-To: header
811 - [BUG] x-original-to: fix missing initialization to default value
812 - [BUILD] spec file: fix broken pipe during rpmbuild and add man file
813 - [MINOR] improve reporting of misplaced acl/reqxxx rules
814 - [MEDIUM] http: add options to ignore invalid header names
815 - [MEDIUM] http: capture invalid requests/responses even if accepted
816 - [BUILD] add format(printf) to printf-like functions
817 - [MINOR] fix several printf formats and missing arguments
818 - [BUG] stats: total and lbtot are unsigned
819 - [MINOR] fix a few remaining printf-like formats on 64-bit platforms
820 - [CLEANUP] remove unused make option from haproxy.spec
821 - [BUILD] make it possible to pass alternative arch at build time
822 - [MINOR] switch all stat counters to 64-bit
823 - [MEDIUM] ensure we don't recursively call pool_gc2()
824 - [CRITICAL] uninitialized response field can sometimes cause crashes
825 - [BUG] fix wrong pointer arithmetics in HTTP message captures
826 - [MINOR] rhel init script : support the reload operation
827 - [MINOR] add basic signal handling functions
828 - [BUILD] add signal.o to all makefiles
829 - [MEDIUM] call signal_process_queue from run_poll_loop
830 - [MEDIUM] pollers: don't wait if a signal is pending
831 - [MEDIUM] convert all signals to asynchronous signals
832 - [BUG] O(1) pollers should check their FD before closing it
833 - [MINOR] don't close stdio fds twice
834 - [MINOR] add options dontlog-normal and log-separate-errors
835 - [DOC] minor fixes and rearrangements
836 - [BUG] fix parser crash on unconditional tcp content rules
837 - [DOC] rearrange the configuration manual and add a summary
838 - [MINOR] standard: provide a new 'my_strndup' function
839 - [MINOR] implement per-logger log level limitation
840 - [MINOR] compute the max of sessions/s on fe/be/srv
841 - [MINOR] stats: report max sessions/s and limit in CSV export
842 - [MINOR] stats: report max sessions/s and limit in HTML stats
843 - [MINOR] stats/html: use the arial font before helvetica
844
Willy Tarreauf459b422009-03-29 15:26:57 +02008452009/03/29 : 1.3.17
846 - Update specfile to build for v2.6 kernel.
847 - [BUG] reset the stream_interface connect timeout upon connect or error
848 - [BUG] reject unix accepts when connection limit is reached
849 - [MINOR] show sess: report number of calls to each task
850 - [BUG] don't call epoll_ctl() on closed sockets
851 - [BUG] stream_sock: disable I/O on fds reporting an error
852 - [MINOR] sepoll: don't count two events on the same FD.
853 - [MINOR] show sess: report a lot more information about sessions
854 - [BUG] stream_sock: check for shut{r,w} before refreshing some timeouts
855 - [BUG] don't set an expiration date directly from now_ms
856 - [MINOR] implement ulltoh() to write HTML-formatted numbers
857 - [MINOR] stats/html: group digits by 3 to clarify numbers
858 - [BUILD] remove haproxy-small.spec
859 - [BUILD] makefile: remove unused references to linux24eold and EPOLL_CTL_WORKAROUND
860
Willy Tarreau8019ffa2009-03-22 23:46:12 +01008612009/03/22 : 1.3.16
862 - [BUILD] Fixed Makefile for linking pcre
863 - [CONTRIB] selinux policy for haproxy
864 - [MINOR] show errors: encode backslash as well as non-ascii characters
865 - [MINOR] cfgparse: some cleanups in the consistency checks
866 - [MINOR] cfgparse: set backends to "balance roundrobin" by default
867 - [MINOR] tcp-inspect: permit the use of no-delay inspection
868 - [MEDIUM] reverse internal proxy declaration order to match configuration
869 - [CLEANUP] config: catch and report some possibly wrong rule ordering
870 - [BUG] connect timeout is in the stream interface, not the buffer
871 - [BUG] session: errors were not reported in termination flags in TCP mode
872 - [MINOR] tcp_request: let the caller take care of errors and timeouts
873 - [CLEANUP] http: remove some commented out obsolete code in process_response
874 - [MINOR] update ebtree to version 4.1
875 - [MEDIUM] scheduler: get rid of the 4 trees thanks and use ebtree v4.1
876 - [BUG] sched: don't leave 3 lasts tasks unprocessed when niced tasks are present
877 - [BUG] scheduler: fix improper handling of duplicates __task_queue()
878 - [MINOR] sched: permit a task to stay up between calls
879 - [MINOR] task: keep a task count and clean up task creators
880 - [MINOR] stats: report number of tasks (active and running)
881 - [BUG] server check intervals must not be null
882 - [OPTIM] stream_sock: don't retry to read after a large read
883 - [OPTIM] buffer: new BF_READ_DONTWAIT flag reduces EAGAIN rates
884 - [MEDIUM] session: don't resync FSMs on non-interesting changes
885 - [BUG] check for global.maxconn before doing accept()
886 - [OPTIM] sepoll: do not re-check whole list upon accepts
887
Willy Tarreau8185ced2009-03-09 22:45:53 +01008882009/03/09 : 1.3.16-rc2
889 - [BUG] stream_sock: write timeout must be updated when forwarding !
890
Willy Tarreauff63b432009-03-09 01:03:42 +01008912009/03/09 : 1.3.16-rc1
892 - appsessions: cleanup DEBUG_HASH and initialize request_counter
893 - [MINOR] acl: add new keyword "connslots"
894 - [MINOR] cfgparse: fix off-by 2 in error message size
895 - [BUILD] fix build with gcc 4.3
896 - [BUILD] fix MANDIR default location to match documentation
897 - [TESTS] add a debug patch to help trigger the stats bug
898 - [BUG] Flush buffers also where there are exactly 0 bytes left
899 - [MINOR] Allow to specify a domain for a cookie
900 - [BUG/CLEANUP] cookiedomain -> cookie_domain rename + free(p->cookie_domain)
901 - [MEDIUM] Fix memory freeing at exit
902 - [MEDIUM] Fix memory freeing at exit, part 2
903 - [BUG] Fix listen & more of 2 couples <ip>:<port>
904 - [DOC] remove buggy comment for use_backend
905 - [CRITICAL] fix server state tracking: it was O(n!) instead of O(n)
906 - [MEDIUM] add support for URI hash depth and length limits
907 - [MINOR] permit renaming of x-forwarded-for header
908 - [BUILD] fix Makefile.bsd and Makefile.osx for stream_interface
909 - [BUILD] Haproxy won't compile if DEBUG_FULL is defined
910 - [MEDIUM] upgrade to ebtree v4.0
911 - [DOC] update the README file with new build options
912 - [MEDIUM] reduce risk of event starvation in ev_sepoll
913 - [MEDIUM] detect streaming buffers and tag them as such
914 - [MEDIUM] add support for conditional HTTP redirection
915 - [BUILD] make install should depend on haproxy not "all"
916 - [DEBUG] add a TRACE macro to facilitate runtime data extraction
917 - [BUG] event pollers must not wait if a task exists in the run queue
918 - [BUG] queue management: wake oldest request in queues
919 - [BUG] log: reported queue position was offed-by-one
920 - [BUG] fix the dequeuing logic to ensure that all requests get served
921 - [DOC] documentation for the "retries" parameter was missing.
922 - [MEDIUM] implement a monotonic internal clock
923 - [MEDIUM] further improve monotonic clock by check forward jumps
924 - [OPTIM] add branch prediction hints in list manipulations
925 - [MAJOR] replace ultree with ebtree in wait-queues
926 - [BUG] we could segfault during exit while freeing uri_auths
927 - [BUG] wqueue: perform proper timeout comparisons with wrapping values
928 - [MINOR] introduce now_ms, the current date in milliseconds
929 - [BUG] disable buffer read timeout when reading stats
930 - [MEDIUM] rework the wait queue mechanism
931 - [BUILD] change declaration of base64tab to fix build with Intel C++
932 - [OPTIM] shrink wake_expired_tasks() by using task_wakeup()
933 - [MAJOR] use an ebtree instead of a list for the run queue
934 - [MEDIUM] introduce task->nice and boot access to statistics
935 - [OPTIM] task_queue: assume most consecutive timers are equal
936 - [BUILD] silent a warning in unlikely() with gcc 4.x
937 - [MAJOR] convert all expiration timers from timeval to ticks
938 - [BUG] use_backend would not correctly consider "unless"
939 - [TESTS] added test-acl.cfg to test some ACL combinations
940 - [MEDIUM] add support for configuration keyword registration
941 - [MEDIUM] modularize the global "stats" keyword configuration parser
942 - [MINOR] cfgparse: add support for warnings in external functions
943 - [MEDIUM] modularize the "timeout" keyword configuration parser
944 - [MAJOR] implement tcp request content inspection
945 - [MINOR] acl: add a new parsing function: parse_dotted_ver
946 - [MINOR] acl: add req_ssl_ver in TCP, to match an SSL version
947 - [CLEANUP] remove unused include/types/client.h
948 - [CLEANUP] remove many #include <types/xxx> from C files
949 - [CLEANUP] remove dependency on obsolete INTBITS macro
950 - [DOC] document the new "tcp-request" keyword and associated ACLs
951 - [MINOR] acl: add REQ_CONTENT to the list of default acls
952 - [MEDIUM] acl: permit fetch() functions to set the result themselves
953 - [MEDIUM] acl: get rid of dummy values in always_true/always_false
954 - [MINOR] acl: add the "wait_end" acl verb
955 - [MEDIUM] acl: enforce ACL type checking
956 - [MEDIUM] acl: set types on all currently known ACL verbs
957 - [MEDIUM] acl: when possible, report the name and requirements of ACLs in warnings
958 - [CLEANUP] remove 65 useless NULL checks before free
959 - [MEDIUM] memory: update pool_free2() to support NULL pointers
960 - [MEDIUM] buffers: ensure buffer_shut* are properly called upon shutdowns
961 - [MEDIUM] process_srv: rely on buffer flags for client shutdown
962 - [MEDIUM] process_srv: don't rely at all on client state
963 - [MEDIUM] process_cli: don't rely at all on server state
964 - [BUG] fix segfault with url_param + check_post
965 - [BUG] server timeout was not considered in some circumstances
966 - [BUG] client timeout incorrectly rearmed while waiting for server
967 - [MAJOR] kill CL_STINSPECT and CL_STHEADERS (step 1)
968 - [MAJOR] get rid of SV_STANALYZE (step 2)
969 - [MEDIUM] simplify and centralize request timeout cancellation and request forwarding
970 - [MAJOR] completely separate HTTP and TCP states on the request path
971 - [BUG] fix recently introduced loop when client closes early
972 - [MAJOR] get rid of the SV_STHEADERS state
973 - [MAJOR] better separation of response processing and server state
974 - [MAJOR] clearly separate HTTP response processing from TCP server state
975 - [MEDIUM] remove unused references to {CL|SV}_STSHUT*
976 - [MINOR] term_trace: add better instrumentations to trace the code
977 - [BUG] ev_sepoll: closed file descriptors could persist in the spec list
978 - [BUG] process_response must not enable the read FD
979 - [BUG] buffers: remove BF_MAY_CONNECT and fix forwarding issue
980 - [BUG] process_response: do not touch srv_state
981 - [BUG] maintain_proxies must not disable backends
982 - [CLEANUP] get rid of BF_SHUT*_PENDING
983 - [MEDIUM] buffers: add BF_EMPTY and BF_FULL to remove dependency on req/rep->l
984 - [MAJOR] process_session: rely only on buffer flags
985 - [MEDIUM] use buffer->wex instead of buffer->cex for connect timeout
986 - [MEDIUM] centralize buffer timeout checks at the top of process_session
987 - [MINOR] ensure the termination flags are set by process_xxx
988 - [MEDIUM] session: move the analysis bit field to the buffer
989 - [OPTIM] process_cli/process_srv: reduce the number of tests
990 - [BUG] regparm is broken on gcc < 3
991 - [BUILD] fix warning in proto_tcp.c with gcc >= 4
992 - [MEDIUM] merge inspect_exp and txn->exp into request buffer
993 - [BUG] process_cli/process_srv: don't call shutdown when already done
994 - [BUG] process_request: HTTP body analysis must return zero if missing data
995 - [TESTS] test-fsm: 22 regression tests for state machines
996 - [BUG] Fix empty X-Forwarded-For header name when set in defaults section
997 - [BUG] fix harmless but wrong fd insertion sequence
998 - [MEDIUM] make it possible for analysers to follow the whole session
999 - [MAJOR] rework of the server FSM
1000 - [OPTIM] remove useless fd_set(read) upon shutdown(write)
1001 - [MEDIUM] massive cleanup of process_srv()
1002 - [MEDIUM] second level of code cleanup for process_srv_data
1003 - [MEDIUM] third cleanup and optimization of process_srv_data()
1004 - [MEDIUM] process_srv_data: ensure that we always correctly re-arm timeouts
1005 - [MEDIUM] stream_sock_process_data moved to stream_sock.c
1006 - [MAJOR] make the client side use stream_sock_process_data()
1007 - [MEDIUM] split stream_sock_process_data
1008 - [OPTIM] stream_sock_read must check for null-reads more often
1009 - [MINOR] only call flow analysers when their read side is connected.
1010 - [MEDIUM] reintroduce BF_HIJACK with produce_content
1011 - [MINOR] re-arrange buffer flags and rename some of them
1012 - [MINOR] do not check for BF_SHUTR when computing write timeout
1013 - [OPTIM] ev_sepoll: detect newly created FDs and check them once
1014 - [OPTIM] reduce the number of calls to task_wakeup()
1015 - [OPTIM] force inlining of large functions with gcc >= 3
1016 - [MEDIUM] indicate a reason for a task wakeup
1017 - [MINOR] change type of fdtab[]->owner to void*
1018 - [MAJOR] make stream sockets aware of the stream interface
1019 - [MEDIUM] stream interface: add the ->shutw method as well as in and out buffers
1020 - [MEDIUM] buffers: add BF_READ_ATTACHED and BF_ANA_TIMEOUT
1021 - [MEDIUM] process_session: make use of the new buffer flags
1022 - [CLEANUP] process_session: move debug outputs out of the critical loop
1023 - [MEDIUM] move QUEUE and TAR timers to stream interfaces
1024 - [OPTIM] add compiler hints in tick_is_expired()
1025 - [MINOR] add buffer_check_timeouts() to check what timeouts have fired.
1026 - [MEDIUM] use buffer_check_timeouts instead of stream_sock_check_timeouts()
1027 - [MINOR] add an expiration flag to the stream_sock_interface
1028 - [MAJOR] migrate the connection logic to stream interface
1029 - [MAJOR] add a connection error state to the stream_interface
1030 - [MEDIUM] add the SN_CURR_SESS flag to the session to track open sessions
1031 - [MEDIUM] continue layering cleanups.
1032 - [MEDIUM] stream_interface: added a DISconnected state between CON/EST and CLO
1033 - [MEDIUM] remove stream_sock_update_data()
1034 - [MINOR] maintain a global session list in order to ease debugging
1035 - [BUG] shutw must imply close during a connect
1036 - [MEDIUM] process shutw during connection attempt
1037 - [MEDIUM] make the stream interface control the SHUT{R,W} bits
1038 - [MAJOR] complete layer4/7 separation
1039 - [CLEANUP] move the session-related functions to session.c
1040 - [MINOR] call session->do_log() for logging
1041 - [MINOR] replace the ambiguous client_return function by stream_int_return
1042 - [MINOR] replace client_retnclose() with stream_int_retnclose()
1043 - [MINOR] replace srv_close_with_err() with http_server_error()
1044 - [MEDIUM] make the http server error function a pointer in the session
1045 - [CLEANUP] session.c: removed some migration left-overs in sess_establish()
1046 - [MINOR] stream_sock_data_finish() should not expose fd
1047 - [MEDIUM] extract TCP request processing from HTTP
1048 - [MEDIUM] extract the HTTP tarpit code from process_request().
1049 - [MEDIUM] move the HTTP request body analyser out of process_request().
1050 - [MEDIUM] rename process_request to http_process_request
1051 - [BUG] fix forgotten server session counter
1052 - [MINOR] declare process_session in session.h, not proto_http.h
1053 - [MEDIUM] first pass of lifting to proto_uxst.c:uxst_event_accept()
1054 - [MINOR] add an analyser code for UNIX stats request
1055 - [MINOR] pre-set analyser flags on the listener at registration time
1056 - [BUG] do not forward close from cons to prod with analysers
1057 - [MEDIUM] ensure that sock->shutw() also closes read for init states
1058 - [MINOR] add an analyser state in struct session
1059 - [MAJOR] make unix sockets work again with stats
1060 - [MEDIUM] remove cli_fd, srv_fd, cli_state and srv_state from the session
1061 - [MINOR] move the listener reference from fd to session
1062 - [MEDIUM] reference the current hijack function in the buffer itself
1063 - [MINOR] slightly rebalance stats_dump_{raw,http}
1064 - [MINOR] add a new back-reference type : struct bref
1065 - [MINOR] add back-references to sessions for later use by a dumper.
1066 - [MEDIUM] add support for "show sess" in unix stats socket
1067 - [BUG] do not release the connection slot during a retry
1068 - [BUG] dynamic connection throttling could return a max of zero conns
1069 - [BUG] do not try to pause backends during reload
1070 - [BUG] ensure that listeners from disabled proxies are correctly unbound.
1071 - [BUG] acl-related keywords are not allowed in defaults sections
1072 - [BUG] cookie capture is declared in the frontend but checked on the backend
1073 - [BUG] critical errors should be reported even in daemon mode
1074 - [MINOR] redirect: add support for the "drop-query" option
1075 - [MINOR] redirect: add support for "set-cookie" and "clear-cookie"
1076 - [MINOR] redirect: in prefix mode a "/" means not to change the URI
1077 - [BUG] do not dequeue requests on a dead server
1078 - [BUG] do not dequeue the backend's pending connections on a dead server
1079 - [MINOR] stats: indicate if a task is running in "show sess"
1080 - [BUG] check timeout must not be changed if timeout.check is not set
1081 - [BUG] "option transparent" is for backend, not frontend !
1082 - [MINOR] transfer errors were not reported anymore in data phase
1083 - [MEDIUM] add a send limit to a buffer
1084 - [MEDIUM] don't report buffer timeout when there is I/O activity
1085 - [MEDIUM] indicate when we don't care about read timeout
1086 - [MINOR] add flags to indicate when a stream interface is waiting for space/data
1087 - [MEDIUM] enable inter-stream_interface wakeup calls
1088 - [MAJOR] implement autonomous inter-socket forwarding
1089 - [MINOR] add the splice_len member to the buffer struct in preparation of splice support
1090 - [MEDIUM] stream_sock: factor out the return path in case of no-writes
1091 - [MEDIUM] i/o: rework ->to_forward and ->send_max
1092 - [OPTIM] stream_sock: do not ask for polling on EAGAIN if we have read
1093 - [OPTIM] buffer: replace rlim by max_len
1094 - [OPTIM] stream_sock: factor out the buffer full handling out of the loop
1095 - [CLEANUP] replace a few occurrences of (flags & X) && !(flags & Y)
1096 - [CLEANUP] stream_sock: move the write-nothing condition out of the loop
1097 - [MEDIUM] split stream_sock_write() into callback and core functions
1098 - [MEDIUM] stream_sock_read: call ->chk_snd whenever there are data pending
1099 - [MINOR] stream_sock: fix a few wrong empty calculations
1100 - [MEDIUM] stream_sock: try to send pending data on chk_snd()
1101 - [MINOR] global.maxpipes: add the ability to reserve file descriptors for pipes
1102 - [MEDIUM] splice: add configuration options and set global.maxpipes
1103 - [MINOR] introduce structures required to support Linux kernel splicing
1104 - [MEDIUM] add definitions for Linux kernel splicing
1105 - [MAJOR] complete support for linux 2.6 kernel splicing
1106 - [BUG] reserve some pipes for backends with splice enabled
1107 - [MEDIUM] splice: add hints to support older buggy kernels
1108 - [MEDIUM] introduce pipe pools
1109 - [MEDIUM] splice: make use of pipe pools
1110 - [STATS] report pipe usage in the statistics
1111 - [OPTIM] make global.maxpipes default to global.maxconn/4 when not specified
1112 - [BUILD] fix snapshot date extraction with negative timezones
1113 - [MEDIUM] move global tuning options to the global structure
1114 - [MEDIUM] splice: add the global "nosplice" option
1115 - [BUILD] add USE_LINUX_SPLICE to enable LINUX_SPLICE on linux 2.6
1116 - [BUG] we must not exit if protocol binding only returns a warning
1117 - [MINOR] add support for bind interface name
1118 - [BUG] inform the user when root is expected but not set
1119 - [MEDIUM] add support for source interface binding
1120 - [MEDIUM] add support for source interface binding at the server level
1121 - [MEDIUM] implement bind-process to limit service presence by process
1122 - [DOC] document maxpipes, nosplice, option splice-{auto,request,response}
1123 - [DOC] filled the logging section of the configuration manual
1124 - [DOC] document HTTP status codes
1125 - [DOC] document a few missing info about errorfile
1126 - [BUG] fix random memory corruption using "show sess"
1127 - [BUG] fix unix socket processing of interrupted output
1128 - [DOC] add diagrams of queuing and future ACL design
1129 - [BUILD] proto_http did not build on gcc-2.95
1130 - [BUG] the "source" keyword must first clear optional settings
1131 - [BUG] global.tune.maxaccept must be limited even in mono-process mode
1132 - [MINOR] ensure that http_msg_analyzer updates pointer to invalid char
1133 - [MEDIUM] store a complete dump of request and response errors in proxies
1134 - [MEDIUM] implement error dump on unix socket with "show errors"
1135 - [DOC] document "show errors"
1136 - [MINOR] errors dump must use user-visible date, not internal date.
1137 - [MINOR] time: add __usec_to_1024th to convert usecs to 1024th of second
1138 - [MINOR] add curr_sec_ms and curr_sec_ms_scaled for current second.
1139 - [MEDIUM] measure and report session rate on frontend, backends and servers
1140 - [BUG] the "connslots" keyword was matched as "connlots"
1141 - [MINOR] acl: add 2 new verbs: fe_sess_rate and be_sess_rate
1142 - [MEDIUM] implement "rate-limit sessions" for the frontend
1143 - [BUG] interface binding: length must include the trailing zero
1144 - [BUG] typo in timeout error reporting : report *res and not *err
1145 - [OPTIM] maintain_proxies: only wake up when the frontend will be ready
1146 - [OPTIM] rate-limit: cleaner behaviour on low rates and reduce consumption
1147 - [BUG] switch server-side stream interface to close in case of abort
1148 - [CLEANUP] remove last references to term_trace
1149 - [OPTIM] freq_ctr: do not rotate the counters when reading
1150 - [BUG] disable any analysers for monitoring requests
1151 - [BUG] rate-limit in defaults section was ignored
1152 - [BUG] task: fix handling of duplicate keys
1153 - [OPTIM] task: don't unlink a task from a wait queue when waking it up
1154 - [OPTIM] displace tasks in the wait queue only if absolutely needed
1155 - [MEDIUM] minor update to the task api: let the scheduler queue itself
1156 - [BUG] event_accept() must always wake the task up, even in health mode
1157 - [CLEANUP] task: distinguish between clock ticks and timers
1158 - [OPTIM] task: reduce the number of calls to task_queue()
1159 - [OPTIM] do not re-check req buffer when only response has changed
1160 - [CLEANUP] don't enable kernel splicing when socket is closed
1161 - [CLEANUP] buffer_flush() was misleading, rename it as buffer_erase
1162 - [MINOR] buffers: implement buffer_flush()
1163 - [MEDIUM] rearrange forwarding condition to enable splice during analysis
1164 - [BUILD] build fixes for Solaris
1165 - [BUILD] proto_http did not build on gcc-2.95 (again)
1166 - [CONTRIB] halog: fast log parser for haproxy
1167 - [CONTRIB] halog: faster fgets() and add support for percentile reporting
1168
Willy Tarreau7b4c5ae2008-04-19 21:06:14 +020011692008/04/19 : 1.3.15
1170 - [BUILD] Added support for 'make install'
1171 - [BUILD] Added 'install-man' make target for installing the man page
1172 - [BUILD] Added 'install-bin' make target
1173 - [BUILD] Added 'install-doc' make target
1174 - [BUILD] Removed "/" after '$(DESTDIR)' in install targets
1175 - [BUILD] Changed 'install' target to install the binaries first
1176 - [BUILD] Replace hardcoded 'LD = gcc' with 'LD = $(CC)'
1177 - [MEDIUM]: Inversion for options
1178 - [MEDIUM]: Count retries and redispatches also for servers, fix redistribute_pending, extend logs, %d->%u cleanup
1179 - [BUG]: Restore clearing t->logs.bytes
1180 - [MEDIUM]: rework checks handling
1181 - [DOC] Update a "contrib" file with a hint about a scheme used for formathing subjects
1182 - [MEDIUM] Implement "track [<backend>/]<server>"
1183 - [MINOR] Implement persistent id for proxies and servers
1184 - [BUG] Don't increment server connections too much + fix retries
1185 - [MEDIUM]: Prevent redispatcher from selecting the same server, version #3
1186 - [MAJOR] proto_uxst rework -> SNMP support
1187 - [BUG] appsession lookup in URL does not work
1188 - [BUG] transparent proxy address was ignored in backend
1189 - [BUG] hot reconfiguration failed because of a wrong error check
1190 - [DOC] big update to the configuration manual
1191 - [DOC] large update to the configuration manual
1192 - [DOC] document more options
1193 - [BUILD] major rework of the GNU Makefile
1194 - [STATS] add support for "show info" on the unix socket
1195 - [DOC] document options forwardfor to logasap
1196 - [MINOR] add support for the "backlog" parameter
1197 - [OPTIM] introduce global parameter "tune.maxaccept"
1198 - [MEDIUM] introduce "timeout http-request" in frontends
1199 - [MINOR] tarpit timeout is also allowed in backends
1200 - [BUG] increment server connections for each connect()
1201 - [MEDIUM] add a turn-around state of one second after a connection failure
1202 - [BUG] fix typo in redispatched connection
1203 - [DOC] document options nolinger to ssl-hello-chk
1204 - [DOC] added documentation for "option tcplog" to "use_backend"
1205 - [BUG] connect_server: server might not exist when sending error report
1206 - [MEDIUM] support fully transparent proxy on Linux (USE_LINUX_TPROXY)
1207 - [MEDIUM] add non-local bind to connect() on Linux
1208 - [MINOR] add transparent proxy support for balabit's Tproxy v4
1209 - [BUG] use backend's source and not server's source with tproxy
1210 - [BUG] fix overlapping server flags
1211 - [MEDIUM] fix server health checks source address selection
1212 - [BUG] build failed on CONFIG_HAP_LINUX_TPROXY without CONFIG_HAP_CTTPROXY
1213 - [DOC] added "server", "source" and "stats" keywords
1214 - [DOC] all server parameters have been documented
1215 - [DOC] document all req* and rsp* keywords.
1216 - [DOC] added documentation about HTTP header manipulations
1217 - [BUG] log response byte count, not request
1218 - [BUILD] code did not build in full debug mode
1219 - [BUG] fix truncated responses with sepoll
1220 - [MINOR] use s->frt_addr as the server's address in transparent proxy
1221 - [MINOR] fix configuration hint about timeouts
1222 - [DOC] minor cleanup of the doc and notice to contributors
1223 - [MINOR] report correct section type for unknown keywords.
1224 - [BUILD] update MacOS Makefile to build on newer versions
1225 - [DOC] fix erroneous "useallbackups" option in the doc
1226 - [DOC] applied small fixes from early readers
1227 - [MINOR] add configuration support for "redir" server keyword
1228 - [MEDIUM] completely implement the server redirection method
1229 - [TESTS] add a test case for the server redirection mechanism
1230 - [DOC] add a configuration entry for "server ... redir <prefix>"
1231 - [BUILD] backend.c and checks.c did not build without tproxy !
1232 - Revert "[BUILD] backend.c and checks.c did not build without tproxy !"
1233 - [BUILD] backend.c and checks.c did not build without tproxy !
1234 - [OPTIM] used unsigned ints for HTTP state and message offsets
1235 - [OPTIM] GCC4's builtin_expect() is suboptimal
1236 - [BUG] failed conns were sometimes incremented in the frontend!
1237 - [BUG] timeout.check was not pre-set to eternity
1238 - [TESTS] add test-pollers.cfg to easily report pollers in use
1239 - [BUG] do not apply timeout.connect in checks if unset
1240 - [BUILD] ensure that makefile understands USE_DLMALLOC=1
1241 - [MINOR] silent gcc for a wrong warning
1242 - [CLEANUP] update .gitignore to ignore more temporary files
1243 - [CLEANUP] report dlmalloc's source path only if explictly specified
1244 - [BUG] str2sun could leak a small buffer in case of error during parsing
1245 - [BUG] option allbackups was not working anymore in roundrobin mode
1246 - [MAJOR] implementation of the "leastconn" load balancing algorithm
1247 - [BUILD] ensure that users don't build without setting the target anymore.
1248 - [DOC] document the leastconn LB algo
1249 - [MEDIUM] fix stats socket limitation to 16 kB
1250 - [DOC] fix unescaped space in httpchk example.
1251 - [BUG] fix double-decrement of server connections
1252 - [TESTS] add a test case for port mapping
1253 - [TESTS] add a benchmark for integer hashing
1254 - [TESTS] add new methods in ip-hash test file
1255 - [MAJOR] implement parameter hashing for POST requests
1256
Willy Tarreaue5b77e82007-12-06 01:25:44 +010012572007/12/06 : 1.3.14
1258 - New option http_proxy (Alexandre Cassen)
1259 - add support for "maxqueue" to limit server queue overload (Elijah Epifanov)
1260 - Check for duplicated conflicting proxies (Krzysztof Oledzki)
1261 - stats: report server and backend cumulated downtime (Krzysztof Oledzki)
1262 - use backends only with use_backend directive (Krzysztof Oledzki)
1263 - Handle long lines properly (Krzysztof Oledzki)
1264 - Implement and use generic findproxy and relax duplicated proxy check (Krzysztof Oledzki)
1265 - continous statistics (Krzysztof Oledzki)
1266 - add support for logging via a UNIX socket (Robert Tsai)
1267 - fix error checking in strl2ic/strl2uic()
1268 - fix calls to localtime()
1269 - provide easier-to-use ultoa_* functions
1270 - provide easy-to-use limit_r and LIM2A* macros
1271 - add a simple test for the status page
1272 - move error codes to common/errors.h
1273 - silent warning about LIST_* being redefined on OpenBSD
1274 - add socket address length to the protocols
1275 - group PR_O_BALANCE_* bits into a checkable value
1276 - externalize the "balance" option parser to backend.c
1277 - introduce the "url_param" balance method
1278 - make default_backend work in TCP mode too
1279 - disable warning about localtime_r on Solaris
1280 - adjust error messages about conflicting proxies
1281 - avoid calling some layer7 functions if not needed
1282 - simplify error path in event_accept()
1283 - add an options field to the listeners
1284 - added a new state to listeners
1285 - unbind_listener() must use fd_delete() and not close()
1286 - add a generic unbind_listener() primitive
1287 - add a generic delete_listener() primitive
1288 - add a generic unbind_all_listeners() primitive
1289 - create proto_tcp and move initialization of proxy listeners
1290 - stats: report numerical process ID, proxy ID and server ID
1291 - relative_pid was not initialized
1292 - missing header names in raw stats output
1293 - fix missing parenthesis in check_response_for_cacheability
1294 - small optimization on session_process_counters()
1295 - merge ebtree version 3.0
1296 - make ebtree headers multiple-include compatible
1297 - ebtree: include config.h for REGPRM*
1298 - differentiate between generic LB params and map-specific ones
1299 - add a weight divisor to the struct proxy
1300 - implement the Fast Weighted Round Robin (FWRR) algo
1301 - include filltab25.c to experiment on FWRR for dynamic weights
1302 - merge test-fwrr.cfg to validate dynamic weights
1303 - move the load balancing algorithm to be->lbprm.algo
1304 - change server check result to a bit field
1305 - implement "http-check disable-on-404" for graceful shutdown
1306 - secure the calling conditions of ->set_server_status_{up,down}
1307 - report disabled servers as "NOLB" when they are still UP
1308 - document the "http-check disable-on-404" option
1309 - http-check disable-on-404 is not limited to HTTP mode
1310 - add a test file for disable-on-404
1311 - use distinct bits per load-balancing algorithm type
1312 - implement the slowstart parameter for servers
1313 - document the server's slowstart parameter
1314 - stats: report the server warm up status in a "throttle" column
1315 - fix 2 minor issues on AIX
1316 - add the "nbsrv" ACL verb
1317 - add the "fail" condition to monitor requests
1318 - remove a warning from gcc due to htons() in standard.c
1319 - fwrr: ensure that we never overflow in placements
1320 - store the build options to report with -vv
1321 - fix the status return of the init script (R.I. Pienaar)
1322 - stats: real time monitoring script for unix socket (Prizee)
1323 - document "nbsrv" and "monitor fail"
1324 - restrict the set of allowed characters for identifiers
1325 - implement a time parsing function
1326 - add support for time units in the configuration
1327 - add a bit of documentation about timers
1328 - introduce separation between contimeout, and tarpit + queue
1329 - introduce the "timeout" keyword
1330 - grouped all timeouts in one structure
1331 - slowstart is in ms, not seconds
1332 - slowstart: ensure we don't start with a null weight
1333 - report the number of times each server was selected
1334 - fix build on AIX due to recent log changes
1335 - fix build on Solaris due to recent log changes
1336
Willy Tarreaue855f422007-10-18 22:38:22 +020013372007/10/18 : 1.3.13
1338 - replace the code under O'Reilly license (Arnaud Cornet)
1339 - add a small man page (Arnaud Cornet)
1340 - stats: report haproxy's version by default (Krzysztof Oledzki)
1341 - stats: count server retries and redispatches (Krzysztof Oledzki)
1342 - core: added easy support for Doug Lea's malloc (dlmalloc)
1343 - core: fade out memory usage when stopping proxies
1344 - core: moved the sockaddr pointer to the fdtab structure
1345 - core: add generic protocol support
1346 - core: implement client-side support for PF_UNIX sockets
1347 - stats: implement the CSV output
1348 - stats: add a link to the CSV export HTML page
1349 - stats: implement the statistics output on a unix socket
1350 - config: introduce the "stats" keyword in global section
1351 - build: centralize version and date into one file for each
1352 - tests: added a new hash algorithm
1353
13542007/10/18 : 1.3.12.3
1355 - add the "nolinger" option to disable data lingering (Alexandre Cassen)
1356 - fix double-free during clean exit (Krzysztof Oledzki)
1357 - prevent the system from sending an RST when closing health-checks
1358 (Krzysztof Oledzki)
1359 - do not add a cache-control header when on non-cacheable responses
1360 (Krzysztof Oledzki)
1361 - spread health checks even more (Krzysztof Oledzki)
1362 - stats: scope "." must match the backend and not the frontend
1363 - fixed call to chroot() during startup
1364 - fix wrong timeout computation in event_accept()
1365 - remove condition for exit() under fork() failure
1366
13672007/09/20 : 1.3.12.2
1368 - fix configuration sanity checks for TCP listeners
1369 - set the log socket receive window to zero bytes
1370 - pre-initialize timeouts to infinity, not zero
1371 - fix the SIGHUP message not to alert on server-less proxies
1372 - timeouts and retries could be ignored when switching backend
1373 - added a file to check that "retries" works.
1374 - O'Reilly has clarified its license
1375
13762007/09/05 : 1.3.12.1
1377 - spec I/O: fix allocations of spec entries for an FD
1378 - ensure we never overflow in chunk_printf()
1379 - improve behaviour with large number of servers per proxy
1380 - add support for "stats refresh <interval>"
1381 - stats page: added links for 'refresh' and 'hide down'
1382 - fix backend's weight in the stats page.
1383 - the "stats" keyword is not allowed in a pure frontend.
1384 - provide a test configuration file for stats and checks
1385
Willy Tarreaub21152b2007-06-17 23:41:40 +020013862007/06/17 : 1.3.12
1387 - fix segfault at exit when using captures
1388 - bug: negation in ACL conds was not cleared between terms
1389 - errorfile: use a local file to feed error messages
1390 - acl: support '-i' to ignore case when matching
1391 - acl: smarter integer comparison with operators eq,lt,gt,le,ge
1392 - acl: support maching on 'path' component
1393 - acl: implement matching on header values
1394 - acl: distinguish between request and response headers
1395 - acl: permit to return any header when no name specified
1396 - acl: provide default ACLs
1397 - added the 'use_backend' keyword for full content-switching
1398 - acl: specify the direction during fetches
1399 - acl: provide the argument length for fetch functions
1400 - acl: provide a reference to the expr to fetch()
1401 - improve memory freeing upon exit
1402 - str2net() must not change the const char *
1403 - shut warnings 'is*' macros from ctype.h on solaris
1404
Willy Tarreaua3503e02007-06-03 17:27:07 +020014052007/06/03 : 1.3.11.4
1406 - do not re-arm read timeout in SHUTR state !
1407 - optimize I/O by detecting system starvation
1408 - the epoll FD must not be shared between processes
1409 - limit the number of events returned by *poll*
1410
Willy Tarreau3c6fc072007-05-14 14:40:25 +020014112007/05/14 : 1.3.11.3
1412 - pre-initialize timeouts with tv_eternity during parsing
1413
Willy Tarreaufc273c22007-05-14 03:42:47 +020014142007/05/14 : 1.3.11.2
1415 - fixed broken health-checks since switch to timeval
1416
Willy Tarreau3c5340c2007-05-14 03:18:43 +020014172007/05/14 : 1.3.11.1
1418 - fixed ev_kqueue which was forgotten during the switch to timeval
1419 - allowed null timeouts for past events in select
1420
Willy Tarreau544eb402007-05-14 02:42:33 +020014212007/05/14 : 1.3.11
1422 - fixed ev_sepoll again by rewriting the state machine
1423 - switched all timeouts to timevals instead of milliseconds
1424 - improved memory management using mempools v2.
1425 - several minor optimizations
1426
Willy Tarreau9ca931f2007-05-10 07:51:17 +020014272007/05/09 : 1.3.10.2
1428 - fixed build on OpenBSD (missing types.h)
1429
Willy Tarreau13398d32007-05-09 22:58:28 +020014302007/05/09 : 1.3.10.1
1431 - fixed sepoll transition matrix (two states were missing)
1432
Willy Tarreau61beedf2007-05-09 01:44:58 +020014332007/05/08 : 1.3.10
1434 - several fixes in ev_sepoll
1435 - fixed some expiration dates on some tasks
1436 - fixed a bug in connection establishment detection due to speculative I/O
1437 - fixed rare bug occuring on TCP with early close (reported by Andy Smith)
1438 - implemented URI hashing algorithm (Guillaume Dallaire)
1439 - implemented SMTP health checks (Peter van Dijk)
1440 - replaced the rbtree with ul2tree from old scheduler project
1441 - new framework for generic ACL support
1442 - added the 'acl' and 'block' keywords to the config language
1443 - added several ACL criteria and matches (IP, port, URI, ...)
1444 - cleaned up and better modularization for some time functions
1445 - fixed list macros
1446 - fixed useless memory allocation in str2net()
1447 - store the original destination address in the session
1448
Willy Tarreau6e0433f2007-04-16 01:18:12 +020014492007/04/15 : 1.3.9
1450 - modularized the polling mechanisms and use function pointers instead
1451 of macros at many places
1452 - implemented support for FreeBSD's kqueue() polling mechanism
1453 - fixed a warning on OpenBSD : MIN/MAX redefined
1454 - change socket registration order at startup to accomodate kqueue.
1455 - several makefile cleanups to support old shells
1456 - fix build with limits.h once for all
1457 - ev_epoll: do not rely on fd_sets anymore, use changes stacks instead.
1458 - fdtab now holds the results of polling
1459 - implemented support for speculative I/O processing with epoll()
1460 - remove useless calls to shutdown(SHUT_RD), resulting in small speed boost
1461 - auto-registering of pollers at load time
1462
Willy Tarreau42c76592007-04-03 20:30:13 +020014632007/04/03 : 1.3.8.2
1464 - rewriting either the status line or request line could crash the
1465 process due to a pointer which ought to be reset before parsing.
1466 - rewriting the status line in the response did not work, it caused
1467 a 502 Bad Gateway due to an erroneous state during parsing
1468
Willy Tarreauef6d7612007-04-01 11:06:22 +020014692007/04/01 : 1.3.8.1
1470 - fix reqadd when no option httpclose is used.
1471 - removed now unused fiprm and beprm from proxies
1472 - split logs into two versions : TCP and HTTP
1473 - added some docs about http headers storage and acls
1474 - added a VIM script for syntax color highlighting (Bruno Michel)
1475
Willy Tarreaud661cc02007-03-26 00:24:56 +020014762007/03/25 : 1.3.8
1477 - fixed several bugs which might have caused a crash with bad configs
1478 - several optimizations in header processing
1479 - many progresses towards transaction-based processing
1480 - option forwardfor may be used in frontends
1481 - completed HTTP response processing
1482 - some code refactoring between request and response processing
1483 - new HTTP header manipulation functions
1484 - optimizations on the recv() patch to reduce CPU usage under very
1485 high data rates.
1486 - more user-friendly help about the 'usesrc' keyword (CTTPROXY)
1487 - username/groupname support from Marcus Rueckert
1488 - added the "except" keyword to the "forwardfor" option (Bryan German)
1489 - support for health-checks on other addresses (Fabrice Dulaunoy)
1490 - makefile for MacOS 10.4 / Darwin (Dan Zinngrabe)
1491 - do not insert "Connection: close" in HTTP/1.0 messages
1492
Willy Tarreau9cabf702007-01-26 23:49:01 +010014932007/01/26 : 1.3.7
1494 - fix critical bug introduced with 1.3.6 : an empty request header
1495 may lead to a crash due to missing pointer assignment
1496 - hdr_idx might be left uninitialized in debug mode
1497 - fixed build on FreeBSD due to missing fd_set declaration
1498
Willy Tarreaue7a24382007-01-22 08:57:44 +010014992007/01/22 : 1.3.6.1
1500 - change in the header chaining broke cookies and authentication
1501
Willy Tarreau49e1ee82007-01-22 00:56:46 +010015022007/01/22 : 1.3.6
1503 - stats now support the HEAD method too
1504 - extracted http request from the session
1505 - huge rework of the HTTP parser which is now a 28-state FSM.
1506 - linux-style likely/unlikely macros for optimization hints
1507 - do not create a server socket when there's no server
1508 - imported lots of docs
1509
Willy Tarreau5871f8e2007-01-07 02:47:01 +010015102007/01/07 : 1.3.5
1511 - stats: swap color sets for active and backup servers
1512 - try to guess server check port when unset
1513 - added complete support and doc for TCP Splicing
1514 - replace the wait-queue linked list with an rbtree.
1515 - a few bugfixes and cleanups
1516
Willy Tarreau85270da2007-01-02 00:59:39 +010015172007/01/02 : 1.3.4
1518 - support for cttproxy on the server side to present the client
1519 address to the server.
1520 - added support for SO_REUSEPORT on Linux (needs kernel patch)
1521 - new RFC2616-compliant HTTP request parser with header indexing
1522 - split proxies in frontends, rulesets and backends
1523 - implemented the 'req[i]setbe' to select a backend depending
1524 on the contents
1525 - added the 'default_backend' keyword to select a default BE.
1526 - new stats page featuring FEs and BEs + bytes in both dirs
1527 - improved log format to indicate the backend and the time in ms.
1528 - lots of cleanups
1529
Willy Tarreau9c9fea42006-10-16 00:03:35 +020015302006/10/15 : 1.3.3
1531 - fix broken redispatch option in case the connection has already
1532 been marked "in progress" (ie: nearly always).
1533 - support regparm on x86 to speed up some often called functions
1534 - removed a few useless calls to gettimeofday() in log functions.
1535 - lots of 'const char*' cleanups
1536 - turn every FD_* into functions which are faster on recent CPUs
1537
Willy Tarreau690f9aa2006-09-03 11:23:06 +020015382006/09/03 : 1.3.2
1539 - started the changes towards I/O completion callbacks. stream_sock* have
1540 replaced event_*.
1541 - added the new "reqtarpit" and "reqitarpit" protection features
1542
Willy Tarreau8f2b8552006-07-09 17:11:39 +020015432006/07/09 : 1.3.1 (1.2.15)
1544 - now, haproxy warns about missing timeout during startup to try to
1545 eliminate all those buggy configurations.
1546 - added "Content-Type: text/html" in responses wherever appropriate, as
1547 suggested by Cameron Simpson.
1548 - implemented "option ssl-hello-chk" to use SSLv3 CLIENT HELLO messages to
1549 test server's health
1550 - implemented "monitor-uri" so that haproxy can reply to a specific URI with
1551 an "HTTP/1.0 200 OK" response. This is useful to validate multiple proxies
1552 at once.
1553
Willy Tarreaub9e98b62006-07-03 10:32:46 +020015542006/06/29 : 1.3.0
1555 - exploded the whole file into multiple .c and .h. No functionnal
Willy Tarreau8f2b8552006-07-09 17:11:39 +02001556 difference is expected at all.
1557 - fixed a bug by which neither stats nor error messages could be returned if
1558 'clitimeout' was missing.
Willy Tarreaub9e98b62006-07-03 10:32:46 +02001559
willy tarreau7e6328d2006-05-21 23:26:20 +020015602006/05/21 : 1.2.14
1561 - new HTML status report with the 'stats' keyword.
1562 - added the 'abortonclose' option to better resist traffic surges
1563 - implemented dynamic traffic regulation with the 'minconn' option
1564 - show request time on denied requests
1565 - definitely fixed hot reconf on OpenBSD by the use of SO_REUSEPORT
1566 - now a proxy instance is allowed to run without servers, which is
1567 useful to dedicate one instance to stats
1568 - added lots of error counters
1569 - a missing parenthesis preventd matching of cacheable cookies
1570 - a missing parenthesis in poll_loop() might have caused missed events.
1571
Willy TARREAU4404b7e2006-05-14 10:00:09 +020015722006/05/14 : 1.2.13.1
1573 - an uninitialized field in the struct session could cause a crash when
1574 the session was freed. This has been encountered on Solaris only.
1575 - Solaris and OpenBSD no not support shutdown() on listening socket. Let's
1576 be nice to them by performing a soft stop if pause fails.
1577
willy tarreauc3a2e072006-05-13 18:51:38 +020015782006/05/13 : 1.2.13
1579 - 'maxconn' server parameter to do per-server session limitation
1580 - queueing to support non-blocking session limitation
1581 - fixed removal of cookies for cookie-less servers such as backup servers
1582 - two separate wait queues for expirable and non-expirable tasks provide
1583 better performance with lots of sessions.
1584 - some code cleanups and performance improvements
1585 - made state dumps a bit more verbose
1586 - fixed missing checks for NULL srv in dispatch mode
1587 - load balancing on backup servers was not possible in source hash mode.
1588 - two session flags shared the same bit, but fortunately they were not
1589 compatible.
1590
willy tarreauc0d4bbd2006-04-15 21:47:50 +020015912006/04/15 : 1.2.12
1592 Very few changes preparing for more important changes to support per-server
1593 session limitations and queueing :
1594 - ignore leading empty lines in HTTP requests as suggested by RFC2616.
1595 - added the 'weight' parameter to the servers, limited to 1..256. It applies
1596 to roundrobin and source hash.
1597 - the optional '-s' option could clobber '-st' and '-sf' if compiled in.
1598
willy tarreaue0dd2692006-03-30 16:27:34 +020015992006/03/30 : 1.2.11.1
1600 - under some conditions, it might have been possible that when the
1601 last dead server became available, it would not have been used
1602 till another one would have changed state. Could not be reproduced
1603 at all, however seems possible from the code.
1604
willy tarreaud2058dc2006-03-25 20:35:41 +010016052006/03/25 : 1.2.11
1606 - added the '-db' command-line option to disable backgrounding.
1607 - added the -sf/-st command-line arguments which are used to specify
1608 a list of pids to send a FINISH or TERMINATE signal upon startup.
1609 They will also be asked to release their port if a bind fails.
1610 - reworked the startup mechanism to allow the sending of a signal to a list
1611 of old pids if a socket cannot be bound, with a retry for a limited amount
1612 of time (1 second by default).
1613 - added the ability to enforce limits on memory usage.
1614 - added the 'source' load-balancing algorithm which uses the source IP(v4|v6)
1615 - re-architectured the server round-robin mechanism to ease integration of
1616 other algorithms. It now relies on the number of active and backup servers.
1617 - added a counter for the number of active and backup servers, and report
1618 these numbers upon SIGHUP or state change.
1619
willy tarreaubfad5742006-03-23 14:19:11 +010016202006/03/23 : 1.2.10.1
1621 - while fixing the backup server round-robin "feature", a new bug was
1622 introduced which could miss some backup servers.
1623 - the displayed proxy name was wrong when dumping upon SIGHUP.
1624
willy tarreauaaff30e2006-03-19 21:30:41 +010016252006/03/19 : 1.2.10
1626 - assert.h is needed when DEBUG is defined.
1627 - ENORMOUS long standing bug affecting the epoll polling system :
1628 event_data is a union, not a structure !
1629 - Make fd management more robust and easier to debug. Also some
1630 micro-optimisations.
1631 - Limit the number of consecutive accept() in multi-process mode.
1632 This produces a more evenly distributed load across the processes and
1633 slightly improves performance by reducing bottlenecks.
1634 - Make health-checks be more regular, and faster to retry after a timeout.
1635 - Fixed some messages to ease parsing of alerts.
1636 - provided a patch to enable epoll on RHEL3 kernels.
1637 - Separated OpenBSD build from the main Makefile into a new one.
1638
willy tarreau50be0172006-03-15 19:41:19 +010016392006/03/15 : 1.2.9
1640 - haproxy could not be stopped after being paused, it had to be woken up
1641 first. This has been fixed.
1642 - the 'ulimit-n' parameter is now optional and by default computed from
1643 maxconn + the number of listeners + the number of health-checks.
1644 - it is now possible to specify a maximum number of connections at build
1645 time with the SYSTEM_MAXCONN define. The value set in the configuration
1646 file will then be limited to this value, and only the command-line '-n'
1647 option will be able to bypass it. It will prevent against accidental
1648 high memory usage on small systems.
1649 - RFC2616 expects that any HTTP agent accepts multi-line headers. Earlier
1650 versions did not detect a line beginning with a space as the continuation
1651 of previous header. It is now correct.
1652 - health checks sent to servers configured with identical intervals were
1653 sent in perfect synchronisation because the initial time was the same
1654 for all. This could induce high load peaks when fragile servers were
1655 hosting tens of instances for the same application. Now the load is
1656 spread evenly across the smallest interval amongst a listener.
1657 - a new 'forceclose' option was added to make the proxy close the outgoing
1658 channel to the server once it has sent all its headers and the server
1659 starts responding. This helps some servers which don't close upon the
1660 'Connection: close' header. It implies 'option httpclose'.
1661 - there was a bug in the way the backup servers were handled. They were
1662 erroneously load-balanced while the doc said the opposite. Since
1663 load-balanced backup servers is one of the features some people have
1664 been asking for, the problem was fixed to reflect the documented
1665 behaviour and a new option 'allbackups' was introduced to provide the
1666 feature to those who need it.
1667 - a never ending connect() could lead to a fast select() loop if its
1668 timeout times the number of retransmits exceeded the server read or write
1669 timeout, because the later was used to compute select()'s timeout while
1670 the connection timeout was not reached.
1671 - now we initialize the libc's localtime structures very early so that even
1672 under OOM conditions, we can still send dated error messages without
1673 segfaulting.
1674 - the 'daemon' mode implies 'quiet' and disables 'verbose' because file
1675 descriptors are closed.
1676
willy tarreau065f1c02006-01-29 22:10:07 +010016772006/01/29 : 1.2.8
1678 - fixed a nasty bug affecting poll/epoll which could return unmodified data
1679 from the server to the client, and sometimes lead to memory corruption
1680 crashing the process.
1681 - added the new pause/play mechanism with SIGTTOU/SIGTTIN for hot-reconf.
1682
16832005/12/18 : 1.2.7.1
1684 - the "retries" option was ignored because connect() could not return an
1685 error if the connection failed before the timeout.
1686 - TCP health-checks could not detect a connection refused in poll/epoll
1687 mode.
1688
willy tarreaua56eca72005-12-18 01:34:42 +010016892005/11/13 : 1.2.7
willy tarreau77bc8542005-12-18 01:31:43 +01001690 - building with -DUSE_PCRE should include PCRE headers and not regex.h. At
1691 least on Solaris, this caused the libc's regex primitives to be used instead
1692 of PCRE, which caused trouble on group references. This is now fixed.
willy tarreaud0fb4652005-12-18 01:32:04 +01001693 - delayed the quiet mode during startup so that most of the startup alerts can
1694 be displayed even in quiet mode.
1695 - display an alert when a listener has no address, invalid or no port, or when
1696 there are no enabled listeners upon startup.
willy tarreau4373b962005-12-18 01:32:31 +01001697 - added "static-pcre" to the list of supported regex options in the Makefile.
willy tarreau77bc8542005-12-18 01:31:43 +01001698
willy tarreaub952e1d2005-12-18 01:31:20 +010016992005/10/09 : 1.2.7rc (1.1.33rc)
1700 - second batch of socklen_t changes.
1701 - clean-ups from Cameron Simpson.
1702 - because tv_remain() does not know about eternity, using no timeout can
1703 make select() spin around a null time-out. Bug reported by Cameron Simpson.
1704 - client read timeout was not properly set to eternity initialized after an
1705 accept() if it was not set in the config. It remained undetected so long
1706 because eternity is 0 and newly allocated pages are zeroed by the system.
1707 - do not call get_original_dst() when not in transparent mode.
1708 - implemented a workaround for a bug in certain epoll() implementations on
1709 linux-2.4 kernels (epoll-lt <= 0.21).
1710 - implemented TCP keepalive with new options : tcpka, clitcpka, srvtcpka.
1711
willy tarreauc5f73ed2005-12-18 01:26:38 +010017122005/08/07 : 1.2.6
1713 - clean-up patch from Alexander Lazic fixes build on Debian 3.1 (socklen_t).
1714
17152005/07/06 : 1.2.6-pre5 (1.1.32)
willy tarreau0fe39652005-12-18 01:25:24 +01001716 - added the number of active sessions (proxy/process) in the logs
1717
17182005/07/06 : 1.2.6-pre4 (1.1.32-pre4)
willy tarreaub1285d52005-12-18 01:20:14 +01001719 - the time-out fix introduced in 1.1.25 caused a corner case where it was
1720 possible for a client to keep a connection maintained regardless of the
1721 timeout if the server closed the connection during the HEADER phase,
1722 while the client ignored the close request while doing nothing in the
1723 other direction. This has been fixed now by ensuring that read timeouts
1724 are re-armed when switching to any SHUTW state.
1725
17262005/07/05 : 1.2.6-pre3 (1.1.32-pre3)
1727 - enhanced error reporting in the logs. Now the proxy will precisely detect
1728 various error conditions related to the system and/or process limits, and
1729 generate LOG_EMERG logs indicating that a resource has been exhausted.
1730 - logs will contain two new characters for the error cause : 'R' indicates
1731 a resource exhausted, and 'I' indicates an internal error, though this
1732 one should never happen.
1733 - server connection timeouts can now be reported in the logs (sC), as well
1734 as connections refused because of maxconn limitations (PC).
1735
17362005/07/05 : 1.2.6-pre2 (1.1.32-pre2)
1737 - new global configuration keyword "ulimit-n" may be used to raise the FD
1738 limit to usable values.
1739 - a warning is now displayed on startup if the FD limit is lower than the
1740 configured maximum number of sockets.
1741
17422005/07/05 : 1.2.6-pre1 (1.1.32-pre1)
1743 - new configuration keyword "monitor-net" makes it possible to be monitored
1744 by external devices which connect to the proxy without being logged nor
1745 forwarded to any server. Particularly useful on generic TCPv4 relays.
1746
willy tarreau5dffb602005-12-18 01:15:23 +010017472005/06/21 : 1.2.5.2
1748 - fixed build on PPC where chars are unsigned by default
1749
willy tarreau08dedbe2005-12-18 01:13:48 +010017502005/05/02 : 1.2.5.1
1751 - dirty hack to fix a bug introduced with epoll : if we close an FD and
1752 immediately reassign it to another session through a connect(), the
1753 Prev{Read,Write}Events are not updated, which causes trouble detecting
1754 changes, thus leading to many timeouts at high loads.
1755
willy tarreau64a3cc32005-12-18 01:13:11 +010017562005/04/30 : 1.2.5 (1.1.31)
1757 - changed the runtime argument to disable epoll() to '-de'
1758 - changed the runtime argument to disable poll() to '-dp'
1759 - added global options 'nopoll' and 'noepoll' to do the same at the
1760 configuration level.
1761 - added a 'linux24e' target to the Makefile for Linux 2.4 systems patched to
1762 support epoll().
1763 - changed default FD_SETSIZE to 65536 on Solaris (default=1024)
1764 - conditionned signals redirection to #ifdef DEBUG_MEMORY
1765
willy tarreau1c2ad212005-12-18 01:11:29 +010017662005/04/26 : 1.2.5-pre4
1767 - made epoll() support a compile-time option : ENABLE_EPOLL
1768 - provided a very little libc replacement for a possibly missing epoll()
1769 implementation which can be enabled by -DUSE_MY_EPOLL
1770 - implemented the poll() poller, which can be enabled with -DENABLE_POLL.
1771 The equivalent runtime argument becomes '-P'. A few tests show that it
1772 performs like select() with many fds, but slightly slower (certainly
1773 because of the higher amount of memory involved).
1774 - separated the 3 polling methods and the tasks scheduler into 4 distinct
1775 functions which makes the code a lot more modular.
1776 - moved some event tables to private static declarations inside the poller
1777 functions.
1778 - the poller functions can now initialize themselves, run, and cleanup.
1779 - changed the runtime argument to enable epoll() to '-E'.
1780 - removed buggy epoll_ctl() code in the client_retnclose() function. This
1781 function was never meant to remove anything.
1782 - fixed a typo which caused glibc to yell about a double free on exit.
1783 - removed error checking after epoll_ctl(DEL) because we can never know if
1784 the fd is still active or already closed.
1785 - added a few entries in the makefile
1786
willy tarreauad90a0c2005-12-18 01:09:15 +010017872005/04/25 : 1.2.5-pre3
1788 - experimental epoll() support (use temporary '-e' argument)
1789
17902005/04/24 : 1.2.5-pre2
willy tarreauc1f47532005-12-18 01:08:26 +01001791 - implemented the HTTP 303 code for error redirection. This forces the
1792 browser to fetch the given URI with a GET request. The new keyword for
1793 this is 'errorloc303', and a new 'errorloc302' keyword has been created
1794 to make them easily distinguishable.
1795 - added more controls in the parser for valid use of '\x' sequence.
1796 - few fixes from Alex & Klaus
1797
willy tarreauad90a0c2005-12-18 01:09:15 +010017982005/02/17 : 1.2.5-pre1
willy tarreauc1f47532005-12-18 01:08:26 +01001799 - fixed a few errors in the documentation
1800
18012005/02/13
1802 - do not pre-initialize unused file-descriptors before select() anymore.
1803
willy tarreau12350152005-12-18 01:03:27 +010018042005/01/22 : 1.2.4
1805 - merged Alexander Lazic's and Klaus Wagner's work on application
1806 cookie-based persistence. Since this is the first merge, this version is
1807 not intended for general use and reports are more than welcome. Some
1808 documentation is really needed though.
1809
willy tarreau0174f312005-12-18 01:02:42 +010018102005/01/22 : 1.2.3 (1.1.30)
1811 - add an architecture guide to the documentation
1812 - released without any changes
1813
18142004/12/26 : 1.2.3-pre1 (1.1.30-pre1)
1815 - increased default BUFSIZE to 16 kB to accept max headers of 8 kB which is
1816 compatible with Apache. This limit can be configured in the makefile now.
1817 Thanks to Eric Fehr for the checks.
1818 - added a per-server "source" option which now makes it possible to bind to
1819 a different source for each (potentially identical) server.
1820 - changed cookie-based server selection slightly to allow several servers to
1821 share a same cookie, thus making it possible to associate backup servers to
1822 live servers and ease soft-stop for maintenance periods. (Alexander Lazic)
1823 - added the cookie 'prefix' mode which makes it possible to use persistence
1824 with thin clients which support only one cookie. The server name is prefixed
1825 before the application cookie, and restore back.
1826 - fixed the order of servers within an instance to match documentation. Now
1827 the servers are *really* used in the order of their declaration. This is
1828 particularly important when multiple backup servers are in use.
1829
willy tarreau4302f492005-12-18 01:00:37 +010018302004/10/18 : 1.2.2 (1.1.29)
1831 - fixed a bug where a TCP connection would be logged twice if the 'logasap'
1832 option was enabled without the 'tcplog' option.
1833 - encode_string() would use hdr_encode_map instead of the map argument.
1834
18352004/08/10 : (1.1.29-pre2)
1836 - the logged request is now encoded with '#XX' for unprintable characters
1837 - new keywords 'capture request header' and 'capture response header' enable
1838 logging of arbitrary HTTP headers in requests and responses
1839 - removed "-DSOLARIS" after replacing the last inet_aton() with inet_pton()
1840
willy tarreau982249e2005-12-18 00:57:06 +010018412004/06/06 : 1.2.1 (1.1.28)
1842 - added the '-V' command line option to verbosely report errors even though
1843 the -q or 'quiet' options are specified. This is useful with '-c'.
1844 - added a Red Hat init script and a .spec from Simon Matter <simon.matter@invoca.ch>
willy tarreau036e1ce2005-12-17 13:46:33 +01001845
willy tarreau982249e2005-12-18 00:57:06 +010018462004/06/05 :
1847 - added the "logasap" option which produces a log without waiting for the data
1848 to be transferred from the server to the client.
1849 - added the "httpclose" option which removes any "connection:" header and adds
1850 "Connection: close" in both direction.
willy tarreau97f58572005-12-18 00:53:44 +01001851 - added the 'checkcache' option which blocks cacheable responses containing
1852 dangerous headers, such as 'set-cookie'.
willy tarreau982249e2005-12-18 00:57:06 +01001853 - added 'rspdeny' and 'rspideny' to block certain responses to avoid sensible
1854 information leak from servers.
willy tarreau25c4ea52005-12-18 00:49:49 +01001855
18562004/04/18 :
willy tarreaudd07e972005-12-18 00:48:48 +01001857 - send an EMERG log when no server is available for a given proxy
1858 - added the '-c' command line option to syntactically check the
1859 configuration file without starting the service.
1860
willy tarreau8a86dbf2005-12-18 00:45:59 +010018612003/11/09 : 1.2.0
1862 - the same as 1.1.27 + IPv6 support on the client side
1863
willy tarreaufe2c5c12005-12-17 14:14:34 +010018642003/10/27 : 1.1.27
1865 - the configurable HTTP health check introduced in 1.1.23 revealed a shameful
1866 bug : the code still assumed that HTTP requests were the same size as the
1867 original ones (22 bytes), and failed if they were not.
1868 - added support for pidfiles.
1869
willy tarreauc58fc692005-12-17 14:13:08 +010018702003/10/22 : 1.1.26
1871 - the fix introduced in 1.1.25 for client timeouts while waiting for servers
1872 broke almost all compatibility with POST requests, because the proxy
1873 stopped to read anything from the client as soon as it got all of its
1874 headers.
1875
willy tarreauc1cae632005-12-17 14:12:23 +010018762003/10/15 : 1.1.25
1877 - added the 'tcplog' option, which provides enhanced, HTTP-like logs for
1878 generic TCP proxies, or lighter logs for HTTP proxies.
1879 - fixed a time-out condition wrongly reported as client time-out in data
1880 phase if the client timeout was lower than the connect timeout times the
1881 number of retries.
1882
willy tarreau197e8ec2005-12-17 14:10:59 +010018832003/09/21 : 1.1.24
1884 - if a client sent a full request then shut its write connection down, then
1885 the request was aborted. This case was detected only when using haproxy
1886 both as health-check client and as a server.
1887 - if 'option httpchk' is used in a 'health' mode server, then responses will
1888 change from 'OK' to 'HTTP/1.0 200 OK'.
1889 - fixed a Linux-only bug in case of HTTP server health-checks, where a single
1890 server response followed by a close could be ignored, and the server seen
1891 as failed.
1892
willy tarreaueedaa9f2005-12-17 14:08:03 +010018932003/09/19 : 1.1.23
1894 - fixed a stupid bug introduced in 1.1.22 which caused second and subsequent
1895 'default' sections to keep previous parameters, and not initialize logs
1896 correctly.
1897 - fixed a second stupid bug introduced in 1.1.22 which caused configurations
1898 relying on 'dispatch' mode to segfault at the first connection.
1899 - 'option httpchk' now supports method, HTTP version and a few headers.
1900 - now, 'option httpchk', 'cookie' and 'capture' can be specified in
1901 'defaults' section
1902
19032003/09/10 : 1.1.22
willy tarreaua41a8b42005-12-17 14:02:24 +01001904 - 'listen' now supports optionnal address:port-range lists
1905 - 'bind' introduced to add new listen addresses
1906 - fixed a bug which caused a session to be kept established on a server till
1907 it timed out if the client closed during the DATA phase.
1908 - the port part of each server address can now be empty to make the proxy
1909 connect to the server on the same port it was connected to, be an absolute
1910 unsigned number to reflect a single port (as in older versions), or an
1911 explicitly signed number (+N/-N) to indicate that this offset must be
1912 applied to the port the proxy was connected to, when connecting to the
1913 server.
1914 - the 'port' server option allows the user to specify a different
1915 health-check port than the service one. It is mandatory when only relative
1916 ports have been specified and check is required. By default, the checks are
1917 sent to the service port.
1918 - new 'defaults' section which is rather similar to 'listen' except that all
1919 values are only used as default values for future 'listen' sections, until
1920 a new 'defaults' resets them. At the moment, server options, regexes,
1921 cookie names and captures cannot be set in the 'defaults' section.
1922
willy tarreau2f6ba652005-12-17 13:57:42 +010019232003/05/06 : 1.1.21
1924 - changed the debug output format so that it now includes the session unique
1925 ID followed by the instance name at the beginning of each line.
1926 - in debug mode, accept now shows the client's IP and port.
1927 - added one 3 small debugging scripts to search and pretty print debug output
1928 - changed the default health check request to "OPTIONS /" instead of
1929 "OPTIONS *" since not all servers implement the later one.
1930 - "option httpchk" now accepts an optional parameter allowing the user to
1931 specify and URI other than '/' during health-checks.
1932
willy tarreaub1ff9db2005-12-17 13:51:03 +010019332003/04/21 : 1.1.20
1934 - fixed two problems with time-outs, one where a server would be logged as
1935 timed out during transfer that take longer to complete than the fixed
1936 time-out, and one where clients were logged as timed-out during the data
1937 phase because they didn't have anything to send. This sometimes caused
1938 slow client connections to close too early while in fact there was no
1939 problem. The proper fix would be to have a per-fd time-out with
1940 conditions depending on the state of the HTTP FSM.
1941
willy tarreau906b2682005-12-17 13:49:52 +010019422003/04/16 : 1.1.19
1943 - haproxy was NOT RFC compliant because it was case-sensitive on HTTP
1944 "Cookie:" and "Set-Cookie:" headers. This caused JVM 1.4 to fail on
1945 cookie persistence because it uses "cookie:". Two memcmp() have been
1946 replaced with strncasecmp().
1947
willy tarreau036e1ce2005-12-17 13:46:33 +010019482003/04/02 : 1.1.18
1949 - Haproxy can be compiled with PCRE regex instead of libc regex, by setting
1950 REGEX=pcre on the make command line.
1951 - HTTP health-checks now use "OPTIONS *" instead of "OPTIONS /".
1952 - when explicit source address binding is required, it is now also used for
1953 health-checks.
1954 - added 'reqpass' and 'reqipass' to allow certain headers but not the request
1955 itself.
1956 - factored several strings to reduce binary size by about 2 kB.
1957 - replaced setreuid() and setregid() with more standard setuid() and setgid().
1958 - added 4 status flags to the log line indicating who ended the connection
1959 first, the sessions state, the validity of the cookie, and action taken on
1960 the set-cookie header.
1961
19622002/10/18 : 1.1.17
1963 - add the notion of "backup" servers, which are used only when all other
1964 servers are down.
1965 - make Set-Cookie return "" instead of "(null)" when the server has no
1966 cookie assigned (useful for backup servers).
1967 - "log" now supports an optionnal level name (info, notice, err ...) above
1968 which nothing is sent.
1969 - replaced some strncmp() with memcmp() for better efficiency.
1970 - added "capture cookie" option which logs client and/or server cookies
1971 - cleaned up/down messages and dump servers states upon SIGHUP
1972 - added a redirection feature for errors : "errorloc <errnum> <url>"
1973 - now we won't insist on connecting to a dead server, even with a cookie,
1974 unless option "persist" is specified.
1975 - added HTTP/408 response for client request time-out and HTTP/50[234] for
1976 server reply time-out or errors.
1977
19782002/09/01 : 1.1.16
1979 - implement HTTP health checks when option "httpchk" is specified.
1980
19812002/08/07 : 1.1.15
1982 - replaced setpgid()/setpgrp() with setsid() for better portability, because
1983 setpgrp() doesn't have the same meaning under Solaris, Linux, and OpenBSD.
1984
19852002/07/20 : 1.1.14
1986 - added "postonly" cookie mode
1987
19882002/07/15 : 1.1.13
1989 - tv_diff used inverted parameters which led to negative times !
1990
19912002/07/13 : 1.1.12
1992 - fixed stats monitoring, and optimized some tv_* for most common cases.
1993 - replaced temporary 'newhdr' with 'trash' to reduce stack size
1994 - made HTTP errors more HTML-fiendly.
1995 - renamed strlcpy() to strlcpy2() because of a slightly difference between
1996 their behaviour (return value), to avoid confusion.
1997 - restricted HTTP messages to HTTP proxies only
1998 - added a 502 message when the connection has been refused by the server,
1999 to prevent clients from believing this is a zero-byte HTTP 0.9 reply.
2000 - changed 'Cache-control:' from 'no-cache="set-cookie"' to 'private' when
2001 inserting a cookie, because some caches (apache) don't understand it.
2002 - fixed processing of server headers when client is in SHUTR state
2003
20042002/07/04 :
2005 - automatically close fd's 0,1 and 2 when going daemon ; setpgrp() after
2006 setpgid()
2007
20082002/06/04 : 1.1.11
2009 - fixed multi-cookie handling in client request to allow clean deletion
2010 in insert+indirect mode. Now, only the server cookie is deleted and not
willy tarreau906b2682005-12-17 13:49:52 +01002011 all the header. Should now be compliant to RFC2965.
willy tarreau036e1ce2005-12-17 13:46:33 +01002012 - added a "nocache" option to "cookie" to specify that we explicitly want
2013 to add a "cache-control" header when we add a cookie.
2014 It is also possible to add an "Expires: <old-date>" to keep compatibility
2015 with old/broken caches.
2016
20172002/05/10 : 1.1.10
2018 - if a cookie is used in insert+indirect mode, it's desirable that the
2019 the servers don't see it. It was not possible to remove it correctly
2020 with regexps, so now it's removed automatically.
2021
20222002/04/19 : 1.1.9
2023 - don't use snprintf()'s return value as an end of message since it may
2024 be larger. This caused bus errors and segfaults in internal libc's
2025 getenv() during localtime() in send_log().
2026 - removed dead insecure send_syslog() function and all references to it.
2027 - fixed warnings on Solaris due to buggy implementation of isXXXX().
2028
20292002/04/18 : 1.1.8
2030 - option "dontlognull"
2031 - fixed "double space" bug in config parser
2032 - fixed an uninitialized server field in case of dispatch
2033 with no existing server which could cause a segfault during
2034 logging.
2035 - the pid logged was always the father's, which was wrong for daemons.
2036 - fixed wrong level "LOG_INFO" for message "proxy started".
2037
20382002/04/13 :
2039 - http logging is now complete :
2040 - ip:port, date, proxy, server
2041 - req_time, conn_time, hdr_time, tot_time
2042 - status, size, request
2043 - source address
2044
20452002/04/12 : 1.1.7
2046 - added option forwardfor
2047 - added reqirep, reqidel, reqiallow, reqideny, rspirep, rspidel
2048 - added "log global" in "listen" section.
2049
20502002/04/09 :
2051 - added a new "global" section :
2052 - logs
2053 - debug, quiet, daemon modes
2054 - uid, gid, chroot, nbproc, maxconn
2055
20562002/04/08 : 1.1.6
2057 - regex are now chained and not limited anymore.
2058 - unavailable server now returns HTTP/502.
2059 - increased per-line args limit to 40
2060 - added reqallow/reqdeny to block some request on matches
2061 - added HTTP 400/403 responses
2062
20632002/04/03 : 1.1.5
2064 - connection logging displayed incorrect source address.
2065 - added proxy start/stop and server up/down log events.
2066 - replaced log message short buffers with larger trash.
2067 - enlarged buffer to 8 kB and replace buffer to 4 kB.
2068
20692002/03/25 : 1.1.4
2070 - made rise/fall/interval time configurable
2071
20722002/03/22 : 1.1.3
2073 - fixed a bug : cr_expire and cw_expire were inverted in CL_STSHUT[WR]
2074 which could lead to loops.
2075
20762002/03/21 : 1.1.2
2077 - fixed a bug in buffer management where we could have a loop
2078 between event_read() and process_{cli|srv} if R==BUFSIZE-MAXREWRITE.
2079 => implemented an adjustable buffer limit.
2080 - fixed a bug : expiration of tasks in wait queue timeout is used again,
2081 and running tasks are skipped.
2082 - added some debug lines for accept events.
2083 - send warnings for servers up/down.
2084
20852002/03/12 : 1.1.1
2086 - fixed a bug in total failure handling
2087 - fixed a bug in timestamp comparison within same second (tv_cmp_ms)
2088
20892002/03/10 : 1.1.0
2090 - fixed a few timeout bugs
2091 - rearranged the task scheduler subsystem to improve performance,
2092 add new tasks, and make it easier to later port to librt ;
2093 - allow multiple accept() for one select() wake up ;
2094 - implemented internal load balancing with basic health-check ;
2095 - cookie insertion and header add/replace/delete, with better strings
2096 support.
2097
20982002/03/08
2099 - reworked buffer handling to fix a few rewrite bugs, and
2100 improve overall performance.
2101 - implement the "purge" option to delete server cookies in direct mode.
2102
21032002/03/07
2104 - fixed some error cases where the maxfd was not decreased.
2105
21062002/02/26
2107 - now supports transparent proxying, at least on linux 2.4.
2108
21092002/02/12
2110 - soft stop works again (fixed select timeout computation).
2111 - it seems that TCP proxies sometimes cannot timeout.
2112 - added a "quiet" mode.
2113 - enforce file descriptor limitation on socket() and accept().
2114
21152001/12/30 : release of version 1.0.2 : fixed a bug in header processing
21162001/12/19 : release of version 1.0.1 : no MSG_NOSIGNAL on solaris
21172001/12/16 : release of version 1.0.0.
21182001/12/16 : added syslog capability for each accepted connection.
21192001/11/19 : corrected premature end of files and occasional SIGPIPE.
21202001/10/31 : added health-check type servers (mode health) which replies OK then closes.
21212001/10/30 : added the ability to support standard TCP proxies and HTTP proxies
2122 with or without cookies (use keyword http for this).
21232001/09/01 : added client/server header replacing with regexps.
2124 eg:
2125 cliexp ^(Host:\ [^:]*).* Host:\ \1:80
2126 srvexp ^Server:\ .* Server:\ Apache
21272000/11/29 : first fully working release with complete FSMs and timeouts.
21282000/11/28 : major rewrite
21292000/11/26 : first write