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