Monday, April 15, 2019

[389-commits] [389-ds-base] branch master updated: Ticket 50306 - (cont typo) Move connection config inside struct

This is an automated email from the git hooks/post-receive script.

tbordaz pushed a commit to branch master
in repository 389-ds-base.

The following commit(s) were added to refs/heads/master by this push:
new 117d4ba Ticket 50306 - (cont typo) Move connection config inside struct
117d4ba is described below

commit 117d4ba0901c6d4be5bfbadb97510701395975a2
Author: Thierry Bordaz <tbordaz@redhat.com>
AuthorDate: Mon Apr 15 11:30:42 2019 +0200

Ticket 50306 - (cont typo) Move connection config inside struct

Bug Description:
typo where ioblocktimeout was erronously computed from maxbersize

Fix Description:
move c_maxbersize to c_ioblocktimeout

https://pagure.io/389-ds-base/issue/50306

Reviewed by: Thierry Bordaz

Platforms tested: F28

Flag Day: no

Doc impact: no
---
ldap/servers/slapd/connection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ldap/servers/slapd/connection.c b/ldap/servers/slapd/connection.c
index 3a7620b..8a17df7 100644
--- a/ldap/servers/slapd/connection.c
+++ b/ldap/servers/slapd/connection.c
@@ -1175,7 +1175,7 @@ connection_read_operation(Connection *conn, Operation *op, ber_tag_t *tag, int *
}
/* If we still haven't seen a complete PDU, read from the network */
while (*tag == LBER_DEFAULT) {
- int32_t ioblocktimeout_waits = conn->c_maxbersize / CONN_TURBO_TIMEOUT_INTERVAL;
+ int32_t ioblocktimeout_waits = conn->c_ioblocktimeout / CONN_TURBO_TIMEOUT_INTERVAL;
/* We should never get here with data remaining in the buffer */
PR_ASSERT(!new_operation || !conn_buffered_data_avail_nolock(conn, &conn_closed));
/* We make a non-blocking read call */

--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
389-commits mailing list -- 389-commits@lists.fedoraproject.org
To unsubscribe send an email to 389-commits-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-commits@lists.fedoraproject.org

No comments:

Post a Comment