Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
5f802b319f8b981d57af0e38a45a98bc23516bdc
/
src
/
dynbuf.c
4d593e0
BUG/MINOR: buffer: fix buffer_dump() formatting
by William Lallemand
· Mon Aug 09 19:37:16 2021 +0200
8fe726f
CLEANUP: pools: re-merge pool_refill_alloc() and __pool_refill_alloc()
by Willy Tarreau
· Thu Apr 15 18:20:12 2021 +0200
a5b229d
BUG/MINOR: pools/buffers: make sure to always reserve the required buffers
by Willy Tarreau
· Thu Apr 15 19:24:12 2021 +0200
ff88270
MINOR: pool: move pool declarations to read_mostly
by Willy Tarreau
· Sat Apr 10 17:23:00 2021 +0200
4d77bbf
MINOR: dynbuf: pass offer_buffers() the number of buffers instead of a threshold
by Willy Tarreau
· Sat Feb 20 12:02:46 2021 +0100
90f366b
MINOR: dynbuf: use regular lists instead of mt_lists for buffer_wait
by Willy Tarreau
· Sat Feb 20 11:49:49 2021 +0100
e8e5091
MINOR: dynbuf: make the buffer wait queue per thread
by Willy Tarreau
· Sat Feb 20 11:38:56 2021 +0100
739879a
REORG: buffer: rename buffer.c to dynbuf.c
by Willy Tarreau
· Mon Jun 29 09:26:59 2020 +0200
[Renamed from src/buffer.c]
4dc6c86
CLEANUP: buffers: remove unused buffer_wq_lock lock
by Willy Tarreau
· Sun Jun 28 07:31:42 2020 +0200
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· Tue Jun 09 09:07:15 2020 +0200
f268ee8
REORG: include: split global.h into haproxy/global{,-t}.h
by Willy Tarreau
· Thu Jun 04 17:05:57 2020 +0200
2741c8c
REORG: include: move common/buffer.h to haproxy/dynbuf{,-t}.h
by Willy Tarreau
· Tue Jun 02 11:28:02 2020 +0200
d0ef439
REORG: include: move common/memory.h to haproxy/pool.h
by Willy Tarreau
· Tue Jun 02 09:38:52 2020 +0200
4c7e4b7
REORG: include: update all files to use haproxy/api.h or api-t.h if needed
by Willy Tarreau
· Wed May 27 12:58:42 2020 +0200
6c96fc1
BUG/MINOR: buffers: MT_LIST_DEL_SAFE() expects the temporary pointer.
by Olivier Houchard
· Tue Mar 10 17:39:21 2020 +0100
2104659
MEDIUM: buffer: remove the buffer_wq lock
by Willy Tarreau
· Wed Feb 26 10:39:36 2020 +0100
9080711
BUILD: general: always pass unsigned chars to is* functions
by Willy Tarreau
· Tue Feb 25 08:16:33 2020 +0100
2455ceb
MEDIUM: memory: use pool_destroy_all() to destroy all pools on deinit()
by Willy Tarreau
· Mon Nov 26 15:57:34 2018 +0100
86abe44
MEDIUM: init: use self-initializing spinlocks and rwlocks
by Willy Tarreau
· Sun Nov 25 20:12:18 2018 +0100
c9fa048
MAJOR: buffer: finalize buffer detachment
by Willy Tarreau
· Tue Jul 10 17:43:27 2018 +0200
e312802
MINOR: buffer: replace buffer_replace2() with b_rep_blk()
by Willy Tarreau
· Thu Jul 12 15:55:34 2018 +0200
4d893d4
MINOR: buffers/channel: replace buffer_insert_line2() with ci_insert_line2()
by Willy Tarreau
· Thu Jul 12 15:43:32 2018 +0200
d54a8ce
MAJOR: start to change buffer API
by Willy Tarreau
· Fri Jun 29 18:42:02 2018 +0200
81521ed
MINOR: buffer: adapt buffer_slow_realign() and buffer_dump() to the new API
by Willy Tarreau
· Tue Jun 19 07:48:13 2018 +0200
acd1403
MINOR: buffer: Use b_add()/bo_add() instead of accessing b->i/b->o.
by Olivier Houchard
· Thu Jun 28 18:17:23 2018 +0200
591d445
MINOR: buffer: use b_orig() to replace most references to b->data
by Willy Tarreau
· Fri Jun 15 17:21:00 2018 +0200
0c7ed5d
MINOR: buffer: replace buffer_empty() with b_empty() or c_empty()
by Willy Tarreau
· Tue Jul 10 09:53:31 2018 +0200
d760eec
MINOR: buffer: replace buffer_not_empty() with b_data() or c_data()
by Willy Tarreau
· Tue Jul 10 09:50:25 2018 +0200
8f9c72d
MINOR: buffer: remove bi_end()
by Willy Tarreau
· Thu Jun 07 18:46:28 2018 +0200
89faf5d
MINOR: buffer: remove bo_ptr()
by Willy Tarreau
· Thu Jun 07 18:16:48 2018 +0200
c0a51c5
MINOR: buffer: remove buffer_slow_realign() and the swap_buffer allocation code
by Willy Tarreau
· Thu Jul 12 11:02:51 2018 +0200
4cf1300
MINOR: channel/buffer: replace buffer_slow_realign() with channel_slow_realign() and b_slow_realign()
by Willy Tarreau
· Wed Jun 06 06:53:15 2018 +0200
506a29a
MINOR: buffer: switch buffer sizes and offsets to size_t
by Willy Tarreau
· Wed Jul 18 10:07:58 2018 +0200
c41b3e8
DOC: buffers: clarify the purpose of the <from> pointer in offer_buffers()
by Willy Tarreau
· Fri Mar 02 10:27:12 2018 +0100
b6a2f58
MINOR: buffers: cache-align buffer_wq_lock
by Willy Tarreau
· Sun Nov 26 11:08:14 2017 +0100
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· Fri Nov 24 17:34:44 2017 +0100
9dcf9b6
MINOR: threads: Use __decl_hathreads to declare locks
by Christopher Faulet
· Mon Nov 13 10:34:01 2017 +0100
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· Tue Nov 07 10:42:54 2017 +0100
cd7879a
BUG/MEDIUM: threads: Run the poll loop on the main thread too
by Christopher Faulet
· Fri Oct 27 13:53:47 2017 +0200
a1dd243
MAJOR: threads/buffer: Make buffer wait queue thread safe
by Emeric Brun
· Wed Jun 21 15:42:52 2017 +0200
ba39f23
MEDIUM: threads/buffers: Define and register per-thread init/deinit functions
by Christopher Faulet
· Tue Aug 29 14:43:04 2017 +0200
ad405f1
MINOR: buffers: Move swap_buffer into buffer.c and add deinit_buffer function
by Christopher Faulet
· Tue Aug 29 15:30:11 2017 +0200
aaf4a32
CLEANUP: buffers: Remove buffer_bounce_realign function
by Christopher Faulet
· Tue Mar 28 11:53:34 2017 +0200
a73e59b
BUG/MAJOR: Fix how the list of entities waiting for a buffer is handled
by Christopher Faulet
· Fri Dec 09 17:30:18 2016 +0100
484b53d
BUG/MEDIUM: buffers: do not round up buffer size during allocation
by Willy Tarreau
· Mon Jan 25 02:23:25 2016 +0100
27187ab
BUG/MAJOR: buffers: make the buffer_slow_realign() function respect output data
by Willy Tarreau
· Thu Jul 02 12:50:23 2015 +0200
fdda677
BUG/MEDIUM: buffer: one byte miss in buffer free space check
by Thierry FOURNIER
· Tue Mar 10 01:55:01 2015 +0100
33cb065
MINOR: config: implement global setting tune.buffers.limit
by Willy Tarreau
· Tue Dec 23 22:52:37 2014 +0100
a24adf0
MAJOR: session: only wake up as many sessions as available buffers permit
by Willy Tarreau
· Thu Nov 27 01:11:56 2014 +0100
f2f7d6b
MEDIUM: buffer: add a new buf_wanted dummy buffer to report failed allocations
by Willy Tarreau
· Mon Nov 24 11:55:08 2014 +0100
2a4b543
MEDIUM: buffer: always assign a dummy empty buffer to channels
by Willy Tarreau
· Mon Nov 24 11:39:34 2014 +0100
a6547c1
BUG/MAJOR: buffer: check the space left is enough or not when input data in a buffer is wrapped
by Godbach
· Fri Oct 31 13:16:37 2014 +0800
c3916a7
MINOR: buffer: align the last output line if there are less than 8 characters left
by Godbach
· Thu Nov 21 10:21:22 2013 +0800
c08057c
MINOR: buffer: align the last output line of buffer_dump()
by Godbach
· Thu Nov 14 10:15:20 2013 +0800
5fb3803
CLEANUP: buffer: use buffer_empty() instead of buffer_len()==0
by Willy Tarreau
· Sun Dec 16 19:39:09 2012 +0100
95898ac
BUILD: buffer: fix another isprint() warning on solaris
by Willy Tarreau
· Mon Nov 26 00:57:40 2012 +0100
be0efd8
MINOR: buffer_dump with ASCII
by William Lallemand
· Thu Nov 22 18:01:40 2012 +0100
9b28e03
MAJOR: channel: replace the struct buffer with a pointer to a buffer
by Willy Tarreau
· Fri Oct 12 23:49:43 2012 +0200
af81935
REORG: channel: move buffer_{replace,insert_line}* to buffer.{c,h}
by Willy Tarreau
· Mon Aug 27 22:08:00 2012 +0200
c7e4238
REORG: buffers: split buffers into chunk,buffer,channel
by Willy Tarreau
· Fri Aug 24 19:22:53 2012 +0200