Skip to content

Use of PHP_NORMAL_READ not compatible with PHP 5.2.9 apparantly. #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Original issue reported on code.google.com by ross...@gmail.com on 24 Jun 2009 at 10:13

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions