MINOR: conn_stream: new shutr/w status flags
authorWilly Tarreau <w@1wt.eu>
Thu, 5 Oct 2017 13:06:07 +0000 (15:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:03:23 +0000 (18:03 +0100)
commit79dadb5335e933d085baf1a8b518ceb951f87a9d
tree7408f24ac5b88d1da9ba712d0130d51282d9352d
parent4ff3b89643d710750d5e7eec17479685e905dd80
MINOR: conn_stream: new shutr/w status flags

In order to support all shutdown modes on the CS, we introduce the
following flags :
  CS_FL_SHRD : shut read, drain extra data
  CS_FL_SHRR : shut read, reset extra data
  CS_FL_SHWN : shut write, normal notification
  CS_FL_SHWS : shut write, silent mode (no notification)

And the following modes for shutr/shutw :

  CS_SHR_DRAIN, CS_SHR_RESET, CS_SHW_NORMAL, CS_SHW_SILENT.

Note: it's possible that we won't need to distinguish the two shutw
above as they're only an action.

For now they are not used.
include/types/connection.h