Re: socket buffer
| From: | Stig Bakken | Date: | Thu, 20 May 1999 16:20:11 +0000 |
| Subject: | Re: socket buffer | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-5811@lists.php.net to get a copy of this message | ||
On Thu, 20 May 1999, Sascha Schumann wrote:
> Hullu,
>
> it appears to me that the current implementation of the socket IO buffering is
> rather incomplete.
>
> As stated before, the current PHP3 uses two subsystems to access sockets - the
> standard C library interface and _php3_sock_fgets() which does its own
> buffering. This breaks all scripts which try to use fgets() together with
> other IO operations such as fread or feof.
>
> Before PHP 3.0.8 can be released, I think this should be fixed. ssb
> was working on this, but I have not seen a note from him on this
> issue. If nobody jumps into my way, I'll move some code around for a
> more complete socket interface.
>
> Let me know what you think.
If you feel like diving into it, go ahead. I'll be going back to Norway
in a few hours, and will probably not spend any time on PHP again until
next week. I have some "pain tests" we can send the socket code through
to look for bugs then.
- Stig
--
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