Willy Tarreau 0621da5f5b MINOR: buffer: make bo_getblk_nc() not return 2 for a full buffer
Thus function returns the number of blocks. When a buffer is full and
properly aligned, buf->p loops back the beginning, and the test in the
code doesn't cover that specific case, so it returns two chunks, a full
one and an empty one. It's harmless but can sometimes have a small impact
on performance and definitely makes the code hard to debug.
2017-10-22 09:54:12 +02:00
..
2017-07-21 09:54:03 +02:00
2017-06-02 11:06:36 +02:00
2016-12-28 12:51:51 +01:00
2015-10-12 20:58:51 +02:00
2017-04-03 09:27:49 +02:00
2017-09-11 18:59:40 +02:00