diff options
author | Wez Furlong <wez@php.net> | 2002-09-23 01:47:04 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-09-23 01:47:04 +0000 |
commit | 4d8a07d52908505e1516e6cef455debb07f1c2e2 (patch) | |
tree | 19a7390f43764582533dba4f4733479fc48cc9b6 /main/php_network.h | |
parent | 625e7b202bee50d4d2689e23e326aef1f94f08b4 (diff) | |
download | php-git-4d8a07d52908505e1516e6cef455debb07f1c2e2.tar.gz |
Implement read buffering in streams.
Eliminate similar code from network.c.
Implement fgets equivalent at the streams level, which can detect
the mac, dos and unix line endings and handle them appropriately.
The default behaviour is unix (and dos) line endings.
An ini option to control this behaviour will follow.
# Don't forget to make clean!
# I've done some testing but would appreciate feedback from
# people with scripts/extensions that seek around a lot.
Diffstat (limited to 'main/php_network.h')
-rw-r--r-- | main/php_network.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/main/php_network.h b/main/php_network.h index 5279377986..ffb23cc3fa 100644 --- a/main/php_network.h +++ b/main/php_network.h @@ -103,13 +103,8 @@ int php_sockaddr_size(php_sockaddr_storage *addr); struct _php_netstream_data_t { int socket; - unsigned char *readbuf; - size_t readbuflen; - size_t readpos; - size_t writepos; char eof; char is_blocked; - size_t chunk_size; struct timeval timeout; char timeout_event; #if HAVE_OPENSSL_EXT |