commit | 48adac5db90a10c18e0ef46a65f4d8e422452cd1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Aug 30 04:58:38 2008 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Nov 02 10:19:08 2008 +0100 |
tree | 7ecb6cdf051f7fd89e1c00bc623f6f98881d7f03 | |
parent | e5ed4067159daf24e50019061dd81c68f9025a37 [diff] |
[MEDIUM] stream interface: add the ->shutw method as well as in and out buffers Those entries were really needed for cleaner and better code. Using them has permitted to automatically close a file descriptor during a shut write, reducing by 20% the number of calls to process_session() and derived functions. Process_session() does not need to know the file descriptor anymore, though it still remains very complicated due to the special case for the connect mode.