Permalink
Switch branches/tags
Nothing to show
Commits on Dec 13, 2011
Commits on Sep 18, 2011
  1. Minor README wording change

    yrashk committed Sep 18, 2011
Commits on Sep 16, 2011
  1. Announcement of going into maintenance mode

    ferd committed Sep 16, 2011
    We will keep socket.io-erlang compatible with socket.io v0.6,
    and as such will stop adding new features. We will still fix
    bugs and issues, though.
  2. Fixing build problems (issue #61)

    ferd committed Sep 16, 2011
    This commit upgrades the current agnerized version being used by
    the Makefile. This prompted changes to the rebar config.
    
    The true build problems were caused by the merge #63, which added
    a fix to the -include_lib path to better work with release.
    However, this introduced a problem when compiling with rebar
    given rebar calls 'erlc', which ignores all ERL_LIBS options
    and thus will only support the default system libs (apparently).
    
    This commit adds a macro definition to rebar.config and a
    preprocessor switch to the socketio_listener module (which had
    the include_lib changed) so that when compiled from rebar, we
    use the old code that worked, and when going without rebar, we
    use the fix that existed.
    
    Hopefully that will make everyone happy.
Commits on Sep 13, 2011
  1. Makefile should not duplicate socket.io module retrieval (rebar is ta…

    yrashk committed Sep 13, 2011
    …king care of this now)
  2. Merge pull request #63 from sbalea/master

    ferd committed Sep 13, 2011
    Rebar post_hooks for git submodules (and a minor tweak)
  3. Add post_hooks for get-deps and delete-deps that handle getting and r…

    Mihai Balea
    Mihai Balea committed Sep 13, 2011
    …emoving
    
    socket.io client code via git submodule
  4. Merge pull request #62 from sbalea/master

    ferd committed Sep 13, 2011
    Fix some annoying compiler warnings when running demo escripts
Commits on Sep 12, 2011
  1. Fix compiler warnings in demo scripts

    Mihai Balea
    Mihai Balea committed Sep 12, 2011
Commits on Sep 10, 2011
  1. Merge pull request #60 from ferd/master

    ferd committed Sep 10, 2011
    Better escaping
  2. Fixing the fix for issue #57

    ferd committed Sep 10, 2011
    The previous fix would mess up some escaping in different
    circumstances. This commit should get rid of the problems by
    adding smarter escaping.
Commits on Sep 9, 2011
  1. Merge pull request #59 from ferd/master

    ferd committed Sep 9, 2011
    Stable jsx version
  2. Using a stable jsx version

    ferd committed Sep 9, 2011
    This branch fixes the jsx version to 0.9.0 to avoid
    the currently changing API of the app.
Commits on Aug 19, 2011
  1. Merge pull request #58 from ferd/master

    ferd committed Aug 19, 2011
    Fixing issue 57
  2. Fixing issue #57 on JSONP escaping problems

    ferd committed Aug 19, 2011
    By using JSX's format function and proper encoding/decoding
    the number of slashes is reduced to something reasonable
    that seems to work across the board.
Commits on Jun 29, 2011
  1. Merge pull request #54 from omarkj/master

    omarkj committed Jun 29, 2011
    Updated submodule to work with new socket.io git layout
Commits on Jun 24, 2011
  1. Merge pull request #52 from omarkj/master

    ferd committed Jun 24, 2011
    Fix to bug #50 (Second try)
  2. Removed io format.

    omarkj committed Jun 24, 2011
  3. Fix to bug #50

    omarkj committed Jun 24, 2011
Commits on Jun 17, 2011
  1. Merge pull request #48 from ferd/master

    ferd committed Jun 17, 2011
    Changing the way timers work
  2. Fixing the timeout events on transports.

    ferd committed Jun 16, 2011
    We fix the timer issues having to do with erlang BIF timers conflicting
    with the connection timeouts occurring after a closed socket.
    
    Any client whose connection is closed at the point where the 'dead
    connection timeout' is longer than the polling/heartbeat timer's time
    left will have conflicting timers where the polling/heartbeat resets the
    dead connection timeout.
    
    Given the delays between the 'dead connection timeout' and the regular
    polling/heartbeat timeout can be very close (and are set that way by
    default), this conflict happens fairly often.
    
    Because we are not exactly sure what makes it valid to cancel the dead
    connection timer, this fix makes it so both timers are handled the same
    way, replicating the old behaviour present before the recent fixes to
    the timers when it comes to these connections.
Commits on Jun 16, 2011
  1. Fixing more timers

    ferd committed Jun 16, 2011
    More timers and heartbeats fixed, including htmlfile and xhr multipart.
    Nothing in the tests seemed to have an influence on the htmlfile
    transport. Further tests ought to be added in time.
    
    Note that as for the other transport, the timeout on a disconnection is
    still not a BIF, compared to the heartbeats which now use the Erlang
    timer functions.
  2. Reworking the timers in transport_polling

    ferd committed Jun 16, 2011
    The current way of handling timeouts is risky with regards to user calls
    able to mess with the timeouts and get things out of sync with the
    client side.
    
    This fix replaces the timeouts coming from the gen_server behaviour with
    the erlang timer BIFs, likely safer and independent of the messages
    received.
    
    The timeouts having to do with a connection being closed are still
    handled the old way.
Commits on Jun 15, 2011
  1. Fixing timers in websockets

    ferd committed Jun 15, 2011
    The current way of doing timers in websockets is fickle and bound to
    error when it is reset on all messages we get. Just by sending a process
    random messages, the timers get reset all the time.
    
    This fix adds a different way of handling timers by using the erlang
    module's start_timer/3 and cancel_timer/1 to get a safer
    timeout/heartbeat behaviour.
  2. Adding required fields to the app file

    ferd committed Jun 15, 2011
    Also fixing an error message when the value can't be retrieved.
Commits on Jun 12, 2011
  1. Merge pull request #47 from jannschu/master

    yrashk committed Jun 12, 2011
    Missing application environment entry (close_timout) added
  2. add close_timeout env entry to appfile

    jannschu
    jannschu committed Jun 12, 2011
Commits on Jun 11, 2011
  1. Fixing issue #44

    ferd committed Jun 11, 2011
    When trying to start the socketio_listener more than once, we crash
    the application.
    
    This patch makes it so we always return the Pid if the initial process
    was already started, to deal with the issue transparently.
Commits on Jun 5, 2011
  1. New Demo implementation of socketio_data v1

    ferd committed Jun 5, 2011
    Based off the spec page at https://github.com/learnboost/socket.io-spec
    The module uses binaries and lists very inconsistently and this would
    need to be fixed for it to be usable.
Commits on Jun 2, 2011
  1. Warning messages on configuration loading failure

    ferd committed Jun 2, 2011
    The current behaviour of the application when the configuration value
    for heartbeats (and a delay for closing files in xhr) was to silently
    ignore the issue and substitute it by a default value.
    
    This patch adds warning messages going through the standard error_logger
    in order to let the user of socket.io-erlang know something went wrong.
    
    The default heartbeat value from websockets was also changed from
    infinity to 10 seconds, the same as in the app file we currently have.
    Setting it to infinity had as a consequence that the client code would
    always disconnect from the protocol, without closing the websocket. This
    would result in a particular tab of a browser holding dozens of live
    websockets that can receive data (and look alive to the server) but not
    send any from all of them but the last one.
Commits on May 30, 2011
  1. Added SSL support

    omarkj committed May 30, 2011
  2. Added SSL support

    omarkj committed May 30, 2011