| Issue 2: | Use of PHP_NORMAL_READ not compatible with PHP 5.2.9 apparantly. |
1 of 4
Next ›
|
| 1 person starred this issue and may be notified of changes. | Back to list |
The use of PHP_NORMAL_READ in PushService.php appears to cause PushService.php to work incorrectly under PHP 5.2.9 closing the connection after the token is sent (and not waiting for the message) Changing these lines to the following; $deviceToken = trim(socket_read($clientSocket, 1024)); $message = trim(socket_read($clientSocket, 1024)); Omitting the PHP_NORMAL_READ appears to have corrected this |