Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Dec 13, 2011
Commits on Sep 18, 2011
  1. @yrashk

    Minor README wording change

    yrashk authored
Commits on Sep 16, 2011
  1. @ferd

    Announcement of going into maintenance mode

    ferd authored
    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. @ferd

    Fixing build problems (issue #61)

    ferd authored
    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. @yrashk
  2. @ferd

    Merge pull request #63 from sbalea/master

    ferd authored
    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 authored
    …emoving
    
    socket.io client code via git submodule
  4. @ferd

    Merge pull request #62 from sbalea/master

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

    Mihai Balea authored
Commits on Sep 10, 2011
  1. @ferd

    Merge pull request #60 from ferd/master

    ferd authored
    Better escaping
  2. @ferd

    Fixing the fix for issue #57

    ferd authored
    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. @ferd

    Merge pull request #59 from ferd/master

    ferd authored
    Stable jsx version
  2. @ferd

    Using a stable jsx version

    ferd authored
    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. @ferd

    Merge pull request #58 from ferd/master

    ferd authored
    Fixing issue 57
  2. @ferd

    Fixing issue #57 on JSONP escaping problems

    ferd authored
    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. @omarkj

    Merge pull request #54 from omarkj/master

    omarkj authored
    Updated submodule to work with new socket.io git layout
  2. @omarkj
Commits on Jun 24, 2011
  1. @ferd

    Merge pull request #52 from omarkj/master

    ferd authored
    Fix to bug #50 (Second try)
  2. @omarkj

    Removed io format.

    omarkj authored
  3. @omarkj

    Fix to bug #50

    omarkj authored
Commits on Jun 17, 2011
  1. @ferd

    Merge pull request #48 from ferd/master

    ferd authored
    Changing the way timers work
  2. @ferd

    Fixing the timeout events on transports.

    ferd authored
    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. @ferd

    Fixing more timers

    ferd authored
    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. @ferd

    Reworking the timers in transport_polling

    ferd authored
    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. @ferd

    Fixing timers in websockets

    ferd authored
    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. @ferd

    Adding required fields to the app file

    ferd authored
    Also fixing an error message when the value can't be retrieved.
Commits on Jun 12, 2011
  1. @yrashk

    Merge pull request #47 from jannschu/master

    yrashk authored
    Missing application environment entry (close_timout) added
  2. add close_timeout env entry to appfile

    jannschu authored
Commits on Jun 11, 2011
  1. @ferd

    Fixing issue #44

    ferd authored
    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. @ferd

    New Demo implementation of socketio_data v1

    ferd authored
    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. @ferd

    Warning messages on configuration loading failure

    ferd authored
    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. @omarkj

    Added SSL support

    omarkj authored
  2. @omarkj

    Added SSL support

    omarkj authored
Something went wrong with that request. Please try again.