rpcrt4: Add close_read implementation for TCP connections.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2017-05-24 13:52:19 +02:00 committed by Alexandre Julliard
parent 29f0b28240
commit 28f865b134
1 changed files with 2 additions and 1 deletions

View File

@ -1461,7 +1461,8 @@ static int rpcrt4_conn_tcp_close(RpcConnection *conn)
static void rpcrt4_conn_tcp_close_read(RpcConnection *conn)
{
/* FIXME */
RpcConnection_tcp *connection = (RpcConnection_tcp *) conn;
shutdown(connection->sock, SD_RECEIVE);
}
static void rpcrt4_conn_tcp_cancel_call(RpcConnection *conn)