diff options
| author | Sascha Schumann <sas@php.net> | 2000-10-29 16:01:02 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 2000-10-29 16:01:02 +0000 |
| commit | 27a84800287f5c4ea8df10dba152dcdf38e874b7 (patch) | |
| tree | 04c14b43b9c447e6f27880ac5b1bfe4bcb8e9690 /sapi/aolserver/aolserver.c | |
| parent | 13183ed5c3d18abc8a352defdd3f567125fe5bb9 (diff) | |
| download | php-git-27a84800287f5c4ea8df10dba152dcdf38e874b7.tar.gz | |
Add/unify aborted connection handling
Diffstat (limited to 'sapi/aolserver/aolserver.c')
| -rw-r--r-- | sapi/aolserver/aolserver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/aolserver/aolserver.c b/sapi/aolserver/aolserver.c index b7b3f9ab12..fa209c2529 100644 --- a/sapi/aolserver/aolserver.c +++ b/sapi/aolserver/aolserver.c @@ -98,6 +98,9 @@ php_ns_sapi_ub_write(const char *str, uint str_length) sent_bytes = Ns_ConnWrite(NSG(conn), (void *) str, str_length); + if (sent_bytes != str_length) + php_handle_aborted_connection(); + return sent_bytes; } |
