mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
First part of the connection_status work. No user-callable functions
yet. That is coming next. Have also only done Apache and CGI so far. Will have to crack open my ISAPI book to do that one. Also changed the SAPI output functions to return an int. We'll check the connection status inside each one, but we might need the return code at some other level and I don't see a good reason for just tossing these return codes.
This commit is contained in:
parent
8e9cd1e4ae
commit
0bede914ab
4 changed files with 26 additions and 7 deletions
|
@ -324,6 +324,10 @@ PHPAPI int cfg_get_string(char *varname, char **result);
|
|||
#include "zend_variables.h"
|
||||
#include "zend_constants.h"
|
||||
|
||||
/* connection status states */
|
||||
#define PHP_CONNECTION_NORMAL 0
|
||||
#define PHP_CONNECTION_ABORTED 1
|
||||
#define PHP_CONNECTION_TIMEOUT 2
|
||||
|
||||
|
||||
/* Finding offsets of elements within structures.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue