]> git.ipfire.org Git - thirdparty/squid.git/commit
Docs: READ_HANDLER and WRITE_HANDLER error handling requirements
authorAlex Dowad <alexinbeijing@gmail.com>
Wed, 29 Apr 2015 11:06:52 +0000 (04:06 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 29 Apr 2015 11:06:52 +0000 (04:06 -0700)
commit5ee9758944012513888128cb1179c3de1b9439ee
tree5d20269ccfaa829a76bb449823b100c77f11ce7b
parent045ccffec43db8471ca2f593da89340a63ea888c
Docs: READ_HANDLER and WRITE_HANDLER error handling requirements

All existing READ_HANDLER functions return < 0 on error, so we can test that.
None of them overwrite errno before returning.
src/typedefs.h