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