ID:               46685
 Comment by:       scott dot php at scottrix dot co dot uk
 Reported By:      scott dot php at scottrix dot co dot uk
 Status:           No Feedback
 Bug Type:         Performance problem
 Operating System: Linux
 PHP Version:      5.2.6
 New Comment:

I didn't submit the patch to help me, I already have the fix for the
problem.  If you aren't interested then that is fine.  Just thought I'd
try and give something back to you guys.  Next time I won't bother.


Previous Comments:
------------------------------------------------------------------------

[2008-11-26 13:07:36] [EMAIL PROTECTED]

your choice >  no feedback.

------------------------------------------------------------------------

[2008-11-26 12:22:53] scott dot php at scottrix dot co dot uk

I don't see how the script is relevant.  You should never sit in a busy
loop like this no matter what the php script is doing.

------------------------------------------------------------------------

[2008-11-26 11:12:20] [EMAIL PROTECTED]

You can do non blocking operations in php as well. 

Sorry to insist, but please provide a reproduce case (a script). I'm
not saying that your patch is wrong or not necessary, but it may be
possible already without changes.

------------------------------------------------------------------------

[2008-11-26 11:07:31] scott dot php at scottrix dot co dot uk

The script is running tests on our webpages over ssl.  So it is
spending time waiting to receive data from the webserver.  The php
source code for this waiting for data from the server (over SSL) employs
a busy loop on a nonblocking socket (hence the EAGAIN read errors in
strace output).

------------------------------------------------------------------------

[2008-11-26 10:56:10] [EMAIL PROTECTED]

What are you trying to do, in userland? Any sample scripts?

PHP can do multiplexing already and should work with ssl streams as
well.


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/46685

-- 
Edit this bug report at http://bugs.php.net/?id=46685&edit=1

Reply via email to