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