[asterisk-commits] tilghman: branch 1.8 r283561 - /branches/1.8/res/res_odbc.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 25 11:12:46 CDT 2010


Author: tilghman
Date: Wed Aug 25 11:12:43 2010
New Revision: 283561

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=283561
Log:
Initialize connect timeout on each time through the loop.

(closes issue #17911)
 Reported by: wurstsalat

Modified:
    branches/1.8/res/res_odbc.c

Modified: branches/1.8/res/res_odbc.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/res/res_odbc.c?view=diff&rev=283561&r1=283560&r2=283561
==============================================================================
--- branches/1.8/res/res_odbc.c (original)
+++ branches/1.8/res/res_odbc.c Wed Aug 25 11:12:43 2010
@@ -780,6 +780,7 @@
 			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) {




More information about the asterisk-commits mailing list