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