[php-maint] Bug#514832: Bug#514832: php5: performance: php_curl_stream_read() unnecessarily sleeps 15 secs under heavy load.
g.bonacci at libero.it
g.bonacci at libero.it
Wed Feb 11 18:10:38 UTC 2009
On Wed, Feb 11, 2009 at 11:34:00AM -0600, Raphael Geissert wrote:
> > I believe this problem is related to http://bugs.php.net/bug.php?id=23258
>
> Although it could be possible that a similar situation happens when
> using the standard streams functions it is not caused by this bug in
> curl, because curl is not used by fopen/fsockopen and friends.
>
I'm not very familiar with php, but I believe that libcurl is indeed
used when a url is passed as filename to fopen().
>
> The patch looks good, thanks! Have you considered reporting this bug
> to upstream so that we don't just fix it locally? Please do it, thanks
> in advance.
>
hm... I've not tested it very extensively, hence it's advisable to
have upstream check the patch, before applying it locally. however,
I'd rather avoid duplicating this bug report: would you debian php
developers mind forwarding the patch upstream? let me know.
regards,
giuseppe
More information about the pkg-php-maint
mailing list