Possible bug report - Re: [PHP-NOTES] note 9147 added to Socket functions
| From: | J. M. Castagnetto | Date: | Thu, 19 Oct 2000 02:36:02 +0000 |
| Subject: | Possible bug report - Re: [PHP-NOTES] note 9147 added to Socket functions | ||
| Groups: | php.dev php.notes | ||
| Request: | Send a blank email to php-dev+get-35481@lists.php.net to get a copy of this message | ||
You should send this type of requests/comments to the
bugs database (bugs.php.net) or to the PHP development
list, not put it on the notes for the on-line manual.
I am CC'ing the PHP-DEV list w/ your message, and your
note will be removed from the on-line manual.
--- sbur@entyre.com wrote:
> Looking at the socket.c code at the function
> PHP_FUNCTION(read) for the 4.0.2 version it appears
> there is a call to emalloc to allocate a temporary
> buffer large enough to hold the requested read
> length. When is this free'd? I have run into
> memory limits by using this function to pull several
> megabytes of data over with the end result being a
> PHP failure prior to completing the data transfer,
> due to memory limits being exceeded. Can some one
> point me to the cure???
>
> http://www.php.net/manual/ref.sockets.php
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-notes-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/