Skip to content
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

WebSocket Error when send(String) or send(byte) #34

Open
wants to merge 86 commits into
base: master
Choose a base branch
from

Commits on May 4, 2012

  1. Add initial Socket.IO support.

    koush committed May 4, 2012
    Configuration menu
    Copy the full SHA
    7b20146 View commit details
    Browse the repository at this point in the history
  2. Add proper cleanup for errors.

    koush committed May 4, 2012
    Configuration menu
    Copy the full SHA
    47a7822 View commit details
    Browse the repository at this point in the history
  3. Fix cleanup to null out the client. Prevent multiple connections whil…

    …e already connected.
    koush committed May 4, 2012
    Configuration menu
    Copy the full SHA
    3e4a159 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2c88ddb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    76d8cf5 View commit details
    Browse the repository at this point in the history
  6. Copyright for my changes.

    koush committed May 4, 2012
    Configuration menu
    Copy the full SHA
    b0c10cc View commit details
    Browse the repository at this point in the history
  7. Update the title and credits.

    koush committed May 4, 2012
    Configuration menu
    Copy the full SHA
    44caf8e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c511e73 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6558e4c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4f49431 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2012

  1. Configuration menu
    Copy the full SHA
    8bce20f View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2012

  1. Update README.md

    Missing semi-colon in example code.
    mike-stewart committed Nov 29, 2012
    Configuration menu
    Copy the full SHA
    71be505 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2 from mike-stewart/patch-1

    Update README.md
    koush committed Nov 29, 2012
    Configuration menu
    Copy the full SHA
    e088b9e View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2013

  1. Fire onConnect event when connection established

    In the SocketIOClient, `onConnect()` never called `mHandler.onConnect()`
    bkase committed Jan 2, 2013
    Configuration menu
    Copy the full SHA
    80322b3 View commit details
    Browse the repository at this point in the history
  2. Fixed crash on a no-argument message

    If a message from the socket.io server is emitted with no arguments, it
    now is properly received
    bkase committed Jan 2, 2013
    Configuration menu
    Copy the full SHA
    6adfa2a View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2013

  1. Merge pull request #4 from bkase/fix_noargs

    Fixed crash on a no-argument message
    koush committed Jan 3, 2013
    Configuration menu
    Copy the full SHA
    7de2163 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from FilipZawada/master

    Fixed a bug with incorrect URL when base URI with trailing slash is used.
    koush committed Jan 3, 2013
    Configuration menu
    Copy the full SHA
    9760910 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #3 from bkase/fire_connect

    Fire onConnect event when connection established
    koush committed Jan 3, 2013
    Configuration menu
    Copy the full SHA
    620cc90 View commit details
    Browse the repository at this point in the history
  4. Update src/com/codebutler/android_websockets/HybiParser.java

    Fix logic error from the javascript port.
    koush committed Jan 3, 2013
    Configuration menu
    Copy the full SHA
    b45e80c View commit details
    Browse the repository at this point in the history
  5. Merge pull request #5 from codebutler/master

    update
    koush committed Jan 3, 2013
    Configuration menu
    Copy the full SHA
    18a3624 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2013

  1. Added heartbeat replies, fixed two bugs, and added logging.

    Client will now send a heartbeat back to the server when it receives one, so the connection won't time out. 
    Removed unreachable catch block in cleanup() method, and changed WebSocketClient.Handler() to a Listener() to match the recent change to to the WebSocketClient interface.
    Changed print statements to use Log, to be consistent with the rest of the package.
    mike-stewart committed Jan 10, 2013
    Configuration menu
    Copy the full SHA
    e33c05b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #6 from mike-stewart/master

    Added heartbeat replies, fixed two bugs, and added logging.
    koush committed Jan 10, 2013
    Configuration menu
    Copy the full SHA
    8c8bf39 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2013

  1. Configuration menu
    Copy the full SHA
    86617e5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #7 from mike-stewart/master

    Create an SSL socket for https connections.
    koush committed Feb 5, 2013
    Configuration menu
    Copy the full SHA
    e683f20 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2013

  1. Added manifest target sdk

    Vinay S Shenoy committed Mar 1, 2013
    Configuration menu
    Copy the full SHA
    4b2fa51 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fbd83b5 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2013

  1. Configuration menu
    Copy the full SHA
    acc3552 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #9 from vinaysshenoy/master

    Added support for Message and JSONMessage
    koush committed Mar 2, 2013
    Configuration menu
    Copy the full SHA
    85e5926 View commit details
    Browse the repository at this point in the history
  3. Update README.md

    vinaysshenoy committed Mar 2, 2013
    Configuration menu
    Copy the full SHA
    f440715 View commit details
    Browse the repository at this point in the history
  4. Update README.md

    vinaysshenoy committed Mar 2, 2013
    Configuration menu
    Copy the full SHA
    fc5d023 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #10 from vinaysshenoy/master

    Updated README
    koush committed Mar 2, 2013
    Configuration menu
    Copy the full SHA
    d8645d6 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2013

  1. Configuration menu
    Copy the full SHA
    a6a3b99 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2013

  1. Configuration menu
    Copy the full SHA
    3cbe3ee View commit details
    Browse the repository at this point in the history
  2. Merge pull request #12 from mike-stewart/master

    Fixed double firing of onConnect().
    koush committed Mar 9, 2013
    Configuration menu
    Copy the full SHA
    878842d View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2013

  1. add isConnected method

    I converted my application from AutobahnAndroid to android-websockets
    to take advantage of ssl support.
    android-websockets did not have a isConnected method, which is used in
    my application, so I implemented one.
    pefoley2 committed Apr 4, 2013
    Configuration menu
    Copy the full SHA
    1174d7e View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2013

  1. Merge pull request #13 from pefoley2/master

    add isConnected method and remove incorrect annotations.
    koush committed Apr 8, 2013
    Configuration menu
    Copy the full SHA
    84119d1 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2013

  1. Update SocketIOClient.java

    orenda committed May 8, 2013
    Configuration menu
    Copy the full SHA
    dad5c6f View commit details
    Browse the repository at this point in the history

Commits on May 9, 2013

  1. Configuration menu
    Copy the full SHA
    c62edc2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #15 from cpeterso/cpeterso/fix-readme-errors

    Fix syntax errors in README.md's example code
    koush committed May 9, 2013
    Configuration menu
    Copy the full SHA
    ecaf18b View commit details
    Browse the repository at this point in the history

Commits on May 20, 2013

  1. Added support for Endpoints

    Vinay S Shenoy committed May 20, 2013
    Configuration menu
    Copy the full SHA
    e1877d6 View commit details
    Browse the repository at this point in the history
  2. Added listener event for connecting to endpoints

    Vinay S Shenoy committed May 20, 2013
    Configuration menu
    Copy the full SHA
    b7e9b76 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #16 from vinaysshenoy/master

    Added Support for Endpoints
    koush committed May 20, 2013
    Configuration menu
    Copy the full SHA
    96ae660 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #14 from orenda/patch-1

    Update SocketIOClient.java - onError failed on nullPointerException
    koush committed May 20, 2013
    Configuration menu
    Copy the full SHA
    5408843 View commit details
    Browse the repository at this point in the history
  5. Added support for Acknowledges

    Vinay S Shenoy committed May 20, 2013
    Configuration menu
    Copy the full SHA
    4c28f20 View commit details
    Browse the repository at this point in the history
  6. Update README.md

    vinaysshenoy committed May 20, 2013
    Configuration menu
    Copy the full SHA
    2f586e0 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2013

  1. add end pointed connected override to the handler

    the new endpoint connected callback is mandatory in the handler
    interface, without it the README example doesn't work
    liorsion committed May 21, 2013
    Configuration menu
    Copy the full SHA
    f7487f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a2f9d9 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #18 from liorsion/master

    README fix for endpoint callback
    koush committed May 21, 2013
    Configuration menu
    Copy the full SHA
    7555935 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2013

  1. Update README.md

    The update for onConnectToEndpoint() got overwritten by my changes for Acknowledges. Adding the method back to the README.
    vinaysshenoy committed May 22, 2013
    Configuration menu
    Copy the full SHA
    604cfdd View commit details
    Browse the repository at this point in the history
  2. Added support for Acknowledges

    Vinay S Shenoy committed May 22, 2013
    Configuration menu
    Copy the full SHA
    21ef8ee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f947253 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2013

  1. Configuration menu
    Copy the full SHA
    36cc209 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2013

  1. Merge pull request #19 from cpeterso/cpeterso/handle-double-disconnect

    Avoid mSocket NPE if WebSocketClient.disconnect() is called twice
    koush committed May 24, 2013
    Configuration menu
    Copy the full SHA
    ef5f352 View commit details
    Browse the repository at this point in the history
  2. Fixed merge conflicts

    Vinay S Shenoy committed May 24, 2013
    Configuration menu
    Copy the full SHA
    c7f22d4 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2013

  1. Merge pull request #17 from vinaysshenoy/master

    Added Support for Acknowledges
    koush committed May 30, 2013
    Configuration menu
    Copy the full SHA
    8dfb26d View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2013

  1. Configuration menu
    Copy the full SHA
    57be2c6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #20 from ElMassimo/cleanup-called-twice

    Avoid calling cleanup twice on error condition
    koush committed Jun 1, 2013
    Configuration menu
    Copy the full SHA
    7ea59a8 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2013

  1. Fixed msgId in emit() messages being appended with '+' when Ackowledge

    not added
    Vinay S Shenoy committed Jun 6, 2013
    Configuration menu
    Copy the full SHA
    61be4e5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #21 from vinaysshenoy/master

    Fixed incorrect formatting of Emit messages
    koush committed Jun 6, 2013
    Configuration menu
    Copy the full SHA
    98ec596 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2013

  1. Configuration menu
    Copy the full SHA
    7583bf9 View commit details
    Browse the repository at this point in the history
  2. Changed cleanup code because we can reconnect on error

    Vinay S Shenoy committed Jun 15, 2013
    Configuration menu
    Copy the full SHA
    fb3865c View commit details
    Browse the repository at this point in the history
  3. Fixed formatting

    Vinay S Shenoy committed Jun 15, 2013
    Configuration menu
    Copy the full SHA
    c3d08a1 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2013

  1. Configuration menu
    Copy the full SHA
    17dbf03 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #22 from vinaysshenoy/master

    Added support for auto reconnection on error with exponential backoff
    koush committed Jul 1, 2013
    Configuration menu
    Copy the full SHA
    2a93904 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2013

  1. Merge branch 'master' of git://github.com/yapiti/android-websockets

    Conflicts:
    	src/com/codebutler/android_websockets/SocketIOClient.java
    koush committed Jul 5, 2013
    Configuration menu
    Copy the full SHA
    5d3c4b7 View commit details
    Browse the repository at this point in the history
  2. Changed endpoints to be optional when emitting messages

    Vinay S Shenoy committed Jul 5, 2013
    Configuration menu
    Copy the full SHA
    386dfed View commit details
    Browse the repository at this point in the history
  3. Merge pull request #24 from vinaysshenoy/master

    Changed endpoints in SocketIOClient emits to be optional
    koush committed Jul 5, 2013
    Configuration menu
    Copy the full SHA
    475887a View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2013

  1. Ported AndroidAsync SocketIO framework

    Vinay S Shenoy committed Jul 9, 2013
    Configuration menu
    Copy the full SHA
    ad5a9f3 View commit details
    Browse the repository at this point in the history
  2. Removed eventcallback addition to SocketIOClient as we need to use

    addListener()
    Vinay S Shenoy committed Jul 9, 2013
    Configuration menu
    Copy the full SHA
    92911b8 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2013

  1. Configuration menu
    Copy the full SHA
    e706535 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58c1f5e View commit details
    Browse the repository at this point in the history
  3. Repackaged HybiParser and WebSocketClient

    Vinay S Shenoy committed Jul 11, 2013
    Configuration menu
    Copy the full SHA
    e61b05e View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2013

  1. Switched back to original WebsocketClient and HybiParser

    Vinay S Shenoy committed Jul 12, 2013
    Configuration menu
    Copy the full SHA
    7215aea View commit details
    Browse the repository at this point in the history
  2. Merge pull request #26 from vinaysshenoy/v2

    Ported AndroidAsync Style Socket.IO API to standalone library
    koush committed Jul 12, 2013
    Configuration menu
    Copy the full SHA
    0e0a95f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1 from vinaysshenoy/v2

    Merge V2 into master
    vinaysshenoy committed Jul 12, 2013
    Configuration menu
    Copy the full SHA
    b4ad055 View commit details
    Browse the repository at this point in the history
  4. Update README.md

    vinaysshenoy committed Jul 12, 2013
    Configuration menu
    Copy the full SHA
    29e0042 View commit details
    Browse the repository at this point in the history
  5. Update README.md

    vinaysshenoy committed Jul 12, 2013
    Configuration menu
    Copy the full SHA
    383d075 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #27 from vinaysshenoy/master

    Updated README
    koush committed Jul 12, 2013
    Configuration menu
    Copy the full SHA
    9bdd3e7 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2013

  1. Configuration menu
    Copy the full SHA
    9e5b14b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #28 from payden/verify-secret

    Verify server's Sec-WebSocket-Accept
    koush committed Oct 14, 2013
    Configuration menu
    Copy the full SHA
    052d141 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2014

  1. Better handle queries when building the session url

    Rahul Parsani committed Jan 30, 2014
    Configuration menu
    Copy the full SHA
    3f5788a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #30 from rahulparsani/master

    Better handle queries when building the session url
    koush committed Jan 30, 2014
    Configuration menu
    Copy the full SHA
    c350b24 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2014

  1. Added support for headers in SocketIORequest

    Added a new constructor that accepts a `List<BasicNameValuePair>` containing
    extra headers to add to the `HttpPost` request.
    sergiocampama committed Apr 11, 2014
    Configuration menu
    Copy the full SHA
    75e052b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #33 from sergiocampama/headers

    Added support for headers in SocketIORequest
    koush committed Apr 11, 2014
    Configuration menu
    Copy the full SHA
    460bd2c View commit details
    Browse the repository at this point in the history
  3. Update README.md

    koush committed Apr 11, 2014
    Configuration menu
    Copy the full SHA
    0f1a2fa View commit details
    Browse the repository at this point in the history
  4. Update README.md

    koush committed Apr 11, 2014
    Configuration menu
    Copy the full SHA
    d183761 View commit details
    Browse the repository at this point in the history