Skip to content

Example Code Needs Attention #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 34 commits into from
Closed

Example Code Needs Attention #105

wants to merge 34 commits into from

Conversation

dlo
Copy link
Contributor

@dlo dlo commented Nov 26, 2010

The example code for the http server is out of date in the README file. I fixed it to be compatible with the latest stable release of Node (0.2.5).

Failing tests for new data decoding
.gitignore
 - Progressive data buffering support
 - Error reporting
 - Efficient, low memory footprint
 - Support for the new encoding
   - Message types
   - Termination character
Tests for decoder
Updated utils/utils tests.
Message encoding function + tests
Message decoding function started
Fixed message type index for regular messages
_onMessage added as callback to the decoder
Added proper message type handling
Implemented _onData in the transports
Refactored Client#_payload to make sure the sessionid message (3) is sent
Fixed _queue to work with message type and data arguments
data#encode was failing to compute length for non-string values.
Fixed encode() test utility
Added `tests` utility with common testing globals
Refactored htmlfile tests to use the new utilities
Refactores websocket tests to use the new utilities
Cleaned up flash socket tests
Make sure to test for msg value (index 0) in listener.js decode() callbacks
Deprecated .clientsIndex and clientConnect/clientDisconnect/clientMessage events
Added annotations support to broadcast
Added Realm class
Make sure to proxy the `realm` method from the Realm to the Listener
Removed monkey-patching in favor of RealmClient class. Prevents race conditions
RealmClient Client override added for Realm
Fixed Listener#realm
Various other fixes
Fixed syntax style in JSONP Polling transport
Fixed flashsocket syntax for 85 columns
@rauchg
Copy link
Contributor

rauchg commented Dec 23, 2010

Fixed. Thanks!

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants