Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 10, 2015
  1. Merge branch 'gngeorgiev-master'

    authored
  2. Merge branch 'v2'

    authored
  3. Merge pull request #30 from fatih/benchmark-improvements

    authored
    handler: improve memory allocation and speed
Commits on Aug 9, 2015
  1. @gngeorgiev

    Exposed Session constants

    gngeorgiev authored
  2. @gngeorgiev
Commits on Aug 7, 2015
  1. @fatih

    handler: improve memory allocation and speed

    fatih authored
    I was profiling the memory allocation for our kite library
    (github.com/koding/kite). It uses the sockjs server extensively, and I saw that
    for every single request we would compile the regexp object, even if it's the same.
    
    We know add a hot cache, evaluated lazily for a prefix. The results can be seen
    below and it dramatically changes the speed and memory allocation of the handler.
    
    Change between the old and new can be seen below:
    
    ```
    benchmark                           old ns/op     new ns/op     delta
    BenchmarkHandler_ParseSessionID     19985         4465          -77.66%
    
    benchmark                           old allocs     new allocs     delta
    BenchmarkHandler_ParseSessionID     61             2              -96.72%
    
    benchmark                           old bytes     new bytes     delta
    BenchmarkHandler_ParseSessionID     6560          96            -98.54%
    ```
Commits on Aug 6, 2015
  1. @mweibel

    Fixes #20 by exposing the initial http.Request on the session

    mweibel authored committed
Commits on Jul 30, 2015
  1. live demo is no longer available

    authored
  2. live demo is no longer available

    authored
  3. Merge pull request #29 from TheHippo/readme-cleanup

    authored
    removed non unicode character from Readme.md
  4. Merge branch 'feature/fix_unsafe_rand_access' of https://github.com/r…

    authored
    …ndive/sockjs-go into rndive-feature/fix_unsafe_rand_access
  5. attempt to fix failing tests due to stochastic 'timing' in test scena…

    authored
    …rios by introducing sleep periods to let other wheels spin.
  6. @TheHippo
Commits on Jul 3, 2015
  1. @rndive
Commits on May 18, 2015
  1. Merge pull request #26 from igm/revert-24-feature/20-expose-http-request

    authored
    Revert "Fixes #20 by exposing the initial http.Request on the session"
Commits on May 8, 2015
  1. Merge pull request #24 from mweibel/feature/20-expose-http-request

    authored
    Fixes #20 by exposing the initial http.Request on the session
Commits on May 7, 2015
  1. @mweibel
Commits on Feb 27, 2015
  1. Update README.md

    authored
    resolves #23
Commits on Jan 27, 2015
  1. Merge branch 'v2' into issue21

    authored
  2. fixed 'cover' tool url

    authored
  3. fixed test, upgrad CI to go 1.4.1

    authored
Commits on Jan 24, 2015
  1. @jcheng5

    Fix race where sending messages after large messages may fail

    jcheng5 authored
    With large messages on XHR-streaming and XHR-poll (possibly others)
    the stateHTTPReceiverClosed state may be set on httpReceiver, which
    causes future calls to sendBulk to be a no-op until another receiver
    attaches. This is usually not a problem because a goroutine in
    session.attachReceiver calls detachReceiver soon after, and detach
    causes the session's recv field to be nulled out. However, if msgs
    are sent between the time when stateHTTPReceiverClosed is called
    and detachReceiver occurs, then those messages will be silently
    ignored.
Commits on Sep 11, 2014
Commits on Aug 25, 2014
  1. go version update to 1.3.1

    authored
  2. added Docker info

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