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