summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/service_rpc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/rpc_server/service_rpc.c b/source4/rpc_server/service_rpc.c
index 36e6a54cc8..d221639bd2 100644
--- a/source4/rpc_server/service_rpc.c
+++ b/source4/rpc_server/service_rpc.c
@@ -203,6 +203,7 @@ static void dcesrv_sock_accept(struct stream_connection *srv_conn)
stream_terminate_connection(srv_conn, nt_errstr(status));
return;
}
+ socket_set_flags(srv_conn->socket, SOCKET_FLAG_NOCLOSE);
}
dcesrv_conn->local_address = srv_conn->local_address;