My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 2: Use of PHP_NORMAL_READ not compatible with PHP 5.2.9 apparantly.
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by ross...@gmail.com, Jun 24, 2009
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

Powered by Google Project Hosting