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