]> git.ipfire.org Git - thirdparty/squid.git/commit
Allow limiting of read(2) operations in SBuf I/O API
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 11 Nov 2014 13:37:41 +0000 (05:37 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 11 Nov 2014 13:37:41 +0000 (05:37 -0800)
commit983de17ba395ac4366eac1fe2dbce8eb7694aba5
tree1f28869ffe0392f4c4ec6d8fbfc7d5b96a9b8bb9
parentf1d5359e87a7fb5f7356865c851f09fc4d8b23ce
Allow limiting of read(2) operations in SBuf I/O API

If params.size is non-zero limit size of the read to either the buffer
free space or params.size, whichever is smallest.
src/comm/Read.cc
src/comm/Read.h