SKPHP1989 / phpws

Automatically exported from code.google.com/p/phpws
0 stars 0 forks source link

Undefined variables #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a WebSocket object
2. use $conn->open();

What is the expected output? What do you see instead?

It should just connect to the WebSocket server, but instead it's throwing 
errors:

Notice: Undefined variable: headers in <path>/websocket.client.php on line 129

Notice: Undefined property: WebSocket::$_timeOut in <path>/websocket.client.php 
on line 73

Notice: Undefined index: GET in <path>/websocket.protocol.php on line 103

and not doing anything.

What version of the product are you using? On what operating system?
RC2 on PHP 5.3.10-1ubuntu3.4

Please provide any additional information below.
The WebSocket server is based on Java-Websockets 
(https://github.com/TooTallNate/Java-WebSocket)

Original issue reported on code.google.com by gamezock...@googlemail.com on 22 Oct 2012 at 9:30

GoogleCodeExporter commented 8 years ago
Does it actually try to connect? The client is only tested with the PHPWS 
server so far :/

Original comment by ch...@devristo.com on 3 Nov 2012 at 9:08

GoogleCodeExporter commented 8 years ago
I don't know if it tries to connect; All I can say it, that if gives errors I 
can't explain. But since I went to using regular sockets for my project 
instead, the answer is not relevant to me anymore, actually.

Original comment by gamezock...@googlemail.com on 3 Nov 2012 at 6:26

GoogleCodeExporter commented 8 years ago
Ok, will leave the issue open for now. 

Original comment by ch...@devristo.com on 4 Nov 2012 at 7:13

GoogleCodeExporter commented 8 years ago
Client seems to be broken. Will have a look.

Original comment by ch...@devristo.com on 15 Dec 2012 at 11:02

GoogleCodeExporter commented 8 years ago
Testcases pass again. But the client will need a lot more work to make it 
reliable.

Original comment by ch...@devristo.com on 15 Dec 2012 at 11:33