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