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