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