CVS update: php31/sapi
| From: | shane | Date: | Fri, 21 Aug 1998 21:15:19 +0000 |
| Subject: | CVS update: php31/sapi | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-450@lists.php.net to get a copy of this message | ||
Date: Friday August 21, 1998 @ 17:15
Author: shane
Update of /repository/php31/sapi
In directory asf:/tmp/cvs-serv3498/sapi
Modified Files:
apache_sapi.c
Log Message:
more client_alive work
Index: php31/sapi/apache_sapi.c
diff -c php31/sapi/apache_sapi.c:2.7 php31/sapi/apache_sapi.c:2.8
*** php31/sapi/apache_sapi.c:2.7 Fri Aug 21 17:00:46 1998
--- php31/sapi/apache_sapi.c Fri Aug 21 17:15:19 1998
***************
*** 280,290 ****
if (php3_rqst) {
! return rputs(string, php3_rqst);
} else {
! return fputs(string, stdout);
}
! return FAILURE;
}
int sapi_flush(SAPI_GLOBAL_INCLUDE_V)
--- 280,293 ----
if (php3_rqst) {
! /* FIXME what does rputs return? Have to know. */
! if(rputs(string, php3_rqst))
! return len;
} else {
! if(fwrite(string,len,1,stdout))
! return len;
}
! return 0;
}
int sapi_flush(SAPI_GLOBAL_INCLUDE_V)
***************
*** 336,348 ****
SAPI_FUNC_VARS;
register_cleanup(php3_rqst->pool, arg1, arg2, arg3);
}
!
int sapi_aborted(SAPI_GLOBAL_INCLUDE_V)
{
SAPI_FUNC_VARS;
return php3_rqst->connection->aborted;
}
!
#if defined(CRASH_DETECTION)
/******************************************************************************
/* apache crash detection
--- 339,351 ----
SAPI_FUNC_VARS;
register_cleanup(php3_rqst->pool, arg1, arg2, arg3);
}
! /*
int sapi_aborted(SAPI_GLOBAL_INCLUDE_V)
{
SAPI_FUNC_VARS;
return php3_rqst->connection->aborted;
}
! */
#if defined(CRASH_DETECTION)
/******************************************************************************
/* apache crash detection
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net