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