commit | a84a2dba946bd49676f5222d49eca8d40346e53c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Mar 14 14:50:52 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 15 11:48:46 2017 +0100 |
tree | 3814d0b078c2ffafff88474090c873f93c12f0ea | |
parent | 24d41b9b4d009a9ae1aaae54de0be9a0281ba198 [diff] |
CONTRIB: tcploop: use the trash instead of NULL for recv() NULL is Linux-centric and we're not focused on performance here but portability and reproducibility. Don't use NULL and use the trash instead. It may lead to multiple recv() calls for large blocks but as a benefit it will be possible to see the contents with strace.