cvs: php-src /ext/ircg ircg.c

From: Date: Tue, 02 Sep 2003 16:42:01 +0000
Subject: cvs: php-src /ext/ircg ircg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23580@lists.php.net to get a copy of this message
sas Tue Sep 2 12:42:01 2003 EDT Modified files: /php-src/ext/ircg ircg.c Log: using the fastcgi filter on a network connection usually helps. Index: php-src/ext/ircg/ircg.c diff -u php-src/ext/ircg/ircg.c:1.197 php-src/ext/ircg/ircg.c:1.198 --- php-src/ext/ircg/ircg.c:1.197 Tue Sep 2 11:44:22 2003 +++ php-src/ext/ircg/ircg.c Tue Sep 2 12:42:00 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ircg.c,v 1.197 2003/09/02 15:44:22 sas Exp $ */ +/* $Id: ircg.c,v 1.198 2003/09/02 16:42:00 sas Exp $ */ /* {{{ includes */ @@ -1144,9 +1144,7 @@ IRCGG(flush_data) = conn; do_put = 0; - - if (php_ircg->is_fastcgi) - irc_write_buf_reg(&conn->wb, WB_FILTER_FUNC, irc_write_buf_filter_fastcgi); + RETVAL_TRUE; } else { close(conn->fd); @@ -1308,6 +1306,10 @@ ircg_resource_get(conn->irconn_id); php_ircg->irc_set_currents++; IRCGG(flush_data) = conn; + + if (php_ircg->is_fastcgi) + irc_write_buf_reg(&conn->wb, WB_FILTER_FUNC, irc_write_buf_filter_fastcgi); + /* We maintain a reference to conn until rshutdown */ do_put = 0; RETVAL_TRUE;

« previous php.cvs (#23580) next »