|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesignore-warnings-for-nonblocking (last revision 2012-12-03 11:54 UTC by osmanov@php.net)ignore-EINPROGRESS-warning-nonblocking-2 (last revision 2012-11-28 12:41 UTC by osmanov@php.net) ignore-EINPROGRESS-warning-nonblocking (last revision 2012-11-28 12:40 UTC by osmanov@php.net) ignore-EINPROGRESS-warning (last revision 2012-11-28 12:33 UTC by osmanov@php.net) Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-11-21 17:24 UTC] kakserpompoyaitsam at gmail dot com
-Summary: Bonus warning 'Operation now in progress'
+Summary: Bogus warning 'Operation now in progress'
[2012-11-21 17:24 UTC] kakserpompoyaitsam at gmail dot com
[2012-11-28 12:33 UTC] osmanov@php.net
[2012-11-28 12:40 UTC] osmanov@php.net
[2012-11-28 12:41 UTC] osmanov@php.net
[2012-12-03 11:54 UTC] osmanov@php.net
[2012-12-03 11:57 UTC] osmanov@php.net
[2013-06-24 18:08 UTC] felipe@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: cataphract
[2013-06-24 18:08 UTC] felipe@php.net
[2013-10-02 14:23 UTC] mike@php.net
[2017-10-24 08:07 UTC] kalle@php.net
-Status: Assigned
+Status: Open
-Assigned To: cataphract
+Assigned To:
[2021-02-03 11:29 UTC] cmb@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cmb
[2021-02-03 11:29 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 10:00:01 2025 UTC |
Description: ------------ When I'm getting annoying warning while working with non-blocking socket, For instance: socket_connect(): unable to connect [115]: Operation now in progress Hence, I have to use @socket_connect and the performance getting compromised. I do use pecl-libevent, and this error makes no sense at all. Please do not ignore this little defect, Thank you in advance. Test script: --------------- <?php ini_set('display_errors', 'On'); error_reporting(-1); $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); socket_set_nonblock($socket); socket_connect($socket, '8.8.8.8', 53); Expected result: ---------------- Warning: socket_connect(): unable to connect [115]: Operation now in progress in ... Actual result: -------------- Empty.