I don't understand the text but I understand the C code. added to GIT 1a5b52e
2010/6/27 王洪永 <[email protected]> > 在测试FREEESWITCH > 1.0.19版本时候发现一个问题,会引起odbc过多连接,导致无法创建新连接问题。查找代码发现应该是下面的函数没有去掉连接的使用标志。 > > > SWITCH_DECLARE(void) > switch_cache_db_release_db_handle(switch_cache_db_handle_t ** dbh) > { > if(dbh && *dbh) > { > switch_clear_flag(*dbh, CDF_INUSE); //去掉使用状态标志 > switch_mutex_unlock((*dbh)->mutex); > *dbh = NULL; > } > } > > > > 王洪永 > 中企开源-IP通讯部 > Mon, 28 Jun 2010 09:18:52 +0800 > > > _______________________________________________ > FreeSWITCH-dev mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:[email protected] <msn%[email protected]> GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:[email protected] <sip%[email protected]> googletalk:[email protected]<googletalk%3aconf%[email protected]> pstn:+19193869900
_______________________________________________ FreeSWITCH-dev mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
