1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4:librpc/rpc: also call dcerpc_schedule_io_trigger() after bind and alter_context responses

metze
This commit is contained in:
Stefan Metzmacher 2012-08-24 08:27:47 +02:00
parent e44b5bdb2c
commit 0bd0ad967d

View File

@ -1395,6 +1395,13 @@ static void dcerpc_request_recv_data(struct dcecli_connection *c,
if (req->recv_handler != NULL) {
dcerpc_req_dequeue(req);
req->state = RPC_REQUEST_DONE;
/*
* We have to look at shipping further requests before calling
* the async function, that one might close the pipe
*/
dcerpc_schedule_io_trigger(c);
req->recv_handler(req, raw_packet, pkt);
return;
}