note 9147 deleted from Socket functions by jmcastagnetto

From: Date: Thu, 19 Oct 2000 02:34:14 +0000
Subject: note 9147 deleted from Socket functions by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-6689@lists.php.net to get a copy of this message
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???

« previous php.notes (#6689) next »