Giter VIP home page Giter VIP logo

php-websocket-with-flash-policy-file's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

php-websocket-with-flash-policy-file's Issues

Client Disconnects on Connect

I have an app that uses this repo's back-end and Flash fallback files, but I'm getting an odd behavior with Flash clients. The policy-file-request appears to work properly, and then the client abruptly disconnects once the "File sent!" log entry appears.

Do you have any idea what might cause this behavior? I've tried the Flash client in Safari, IE 9, and the Android browser. Thanks!

Memory Leak

I seem to have a recurring problem with memory leaks in Connection.php at line number 260. I run a game server, and every now and then, the program crashes with the following message:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes)

It always occurs upon execution of this line:

$encodedData = $this->hybi10Encode($payload, $type, $masked);

in the send subroutine. If my memory serves me right, it has always happened in the same line. Do you have any idea what might be causing this bug? Normally if I view memory usage, it doesn’t get much past 1 or 2 MB, so something is causing a major memory leak, and I don't think it is my application. Thanks!

Fatal error: Call to undefined method WebSocket\Server::removeClient()

I get this error Fatal error: Call to undefined method WebSocket\Server::removeClient() in /raid/websites/incontridonne24/public_html/webcam/php-websocket/server/lib/WebSocket/Connection.php on line 225 , when Im trying to test the client.

I have searched to find where is defined removeClient() but I didnt find it. How can I make it work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.