diff options
author | liuyacan <liuyacan@corp.netease.com> | 2021-06-13 14:54:55 +0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-06-14 14:35:04 +0000 |
commit | 55c952ed5f56a1a478f03f8458e82530478c4359 (patch) | |
tree | 43198873060cc8b36cda93995a2f4e56810e87ff /src/vnet/span/node.c | |
parent | 89d939e52c999edec66194c60bc5afb2397a2842 (diff) |
vcl: improve shutdown()
This commit does following:
- Change the behavior of shutdown() with SHUT_RDWR flag.
- Check SHUT_RD flag when read()
- Change the errno when write() after SHUT_WR
- Remove unused code
All the above modification passed the packetdrill test.
Type: improvement
Signed-off-by: liuyacan <liuyacan@corp.netease.com>
Change-Id: I0c81f52e563562e58580d70976526b898e65e915
Diffstat (limited to 'src/vnet/span/node.c')
0 files changed, 0 insertions, 0 deletions