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