From: Tilghman Lesher Date: Wed, 25 Aug 2010 16:12:43 +0000 (+0000) Subject: Initialize connect timeout on each time through the loop. X-Git-Tag: 1.8.0-beta5~3^2~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=919021ee728a78c3ebded8063e8be2bccd9e15c9;p=thirdparty%2Fasterisk.git Initialize connect timeout on each time through the loop. (closes issue #17911) Reported by: wurstsalat git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283561 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_odbc.c b/res/res_odbc.c index d2ee97948c..a5d4ba9139 100644 --- a/res/res_odbc.c +++ b/res/res_odbc.c @@ -780,6 +780,7 @@ static int load_odbc_config(void) pooling = 0; limit = 0; bse = 1; + conntimeout = 10; forcecommit = 0; isolation = SQL_TXN_READ_COMMITTED; for (v = ast_variable_browse(config, cat); v; v = v->next) {