et-nik / et-nik/phpwebsocket

onmessage being called multiple times

Open
#31 4 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
PHP
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
For long strings, the onmessage handler is called multiple times which is
causing problems. I tried to increase the buffer size in the websocket class:

$bytes = @socket_recv($socket,$buffer,50000,0);

That didn't help.

Any ideas?
```

Original issue reported on code.google.com by `zar...@gmail.com` on 2 May 2011 at 4:58

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.