Re: Possible bug report - Re: [PHP-NOTES] note 9147 added to Socket functions
| From: | Sterling Hughes | Date: | Thu, 19 Oct 2000 02:55:33 +0000 |
| Subject: | Re: Possible bug report - Re: [PHP-NOTES] note 9147 added to Socket functions | ||
| References: | 1 | Groups: | php.dev php.notes |
| Request: | Send a blank email to php-dev+get-35482@lists.php.net to get a copy of this message | ||
It does free the memory.
-Sterling
> 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/
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>