diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-06-12 02:42:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:00 -0500 |
commit | ee30cf3b1df749241b8ed479d7b3558af81b27bf (patch) | |
tree | 36d1660d356b36d353937fd5b867b6e04bccd7a7 /source4/librpc/rpc/dcerpc_util.c | |
parent | d1e8e62a56a9e25f00868f287c8c4fe83f79dba9 (diff) | |
download | samba-ee30cf3b1df749241b8ed479d7b3558af81b27bf.tar.gz samba-ee30cf3b1df749241b8ed479d7b3558af81b27bf.tar.bz2 samba-ee30cf3b1df749241b8ed479d7b3558af81b27bf.zip |
r7497: add timeouts to all rpc requests. The default timeout is 60
seconds. This should prevent the problem I am seeing on a solaris box
where a rpc request gets stuck forever
(This used to be commit c24ab34813d675b9b81f3062fb6f30aae5697805)
Diffstat (limited to 'source4/librpc/rpc/dcerpc_util.c')
-rw-r--r-- | source4/librpc/rpc/dcerpc_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index 949b21e68c..8ae7814c26 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -1343,6 +1343,7 @@ NTSTATUS dcerpc_secondary_context(struct dcerpc_pipe *p, return NT_STATUS_NO_MEMORY; } p2->conn = talloc_reference(p2, p->conn); + p2->request_timeout = p->request_timeout; p2->context_id = ++p->conn->next_context_id; |