session: allow transports to generate closed notifications 51/20651/6
authorFlorin Coras <fcoras@cisco.com>
Fri, 12 Jul 2019 22:01:53 +0000 (15:01 -0700)
committerJohn Lo <loj@cisco.com>
Mon, 15 Jul 2019 01:39:15 +0000 (01:39 +0000)
commit692b9498ee5511a17bfbc3a2c6e87339aa3b8df8
treeb588c705f6ab71c61e005705a387e7b4991c0605
parent53c5015121b3d457377a1b1afac076e6218e5326
session: allow transports to generate closed notifications

In contrast to the closing notification, whereby a transport informs
the session layer that is beginning the closing procedure, this allows
transports to notify the session layer of the fact that the transport is
"fully" closed, i.e., it expects no more data.

Also:
- adds app closed state for sessions
- changes tcp to have it notify when an active close has finished

Type: feature

Change-Id: I13c738006c03f85015e05ab82843a33a69382aaf
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vnet/session/application.h
src/vnet/session/application_interface.h
src/vnet/session/application_worker.c
src/vnet/session/session.c
src/vnet/session/session_types.h
src/vnet/tcp/tcp_input.c