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