Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The current API for raw connections only allows the connection to be fully closed
One of the applications for this API is to proxy existing connections. These connections can be half closed (ie the remote end could call shutdown(fd , SHUT_RD) on their end in which case the proxy should do the same to its proxied connection.
This is currently impossible with the existing API. So it is necessary to introduce APIs for half closing for both read and write.