Permalink
Commits on Nov 4, 2013
  1. @DamianEdwards

    Queue & dispatch all receives in the client

    - This ensures that calling stop from a message receive doesn't deadlock the receive loop
    - Using TaskQueue.cs so added that to client projects
    - Had to modify TaskQueue to work in Portable, now do optimistic increment then unwind if we exceed the max size
    - Added a test to verify that async connection start, invoke, stop works without dead-locking
    - Drain the receive queue when Stop called
    - Raise connection error event if queued OnReceived callback throws
    - Removed duplicate call to start from failing test (Will log a separate issue to track the reason why this causes the failure)
    - #2653
    DamianEdwards committed Oct 25, 2013
Commits on Nov 1, 2013
  1. @NTaylorMullen

    Added tests to verify that protocol relative URL's work correctly.

    - Also modified existing test to use the isFalse and isTrue QUnit methods.
    
    #2557
    NTaylorMullen committed Oct 31, 2013
  2. @NTaylorMullen

    Added protocol relative checks to the isCrossDomain method.

    - This ensures that protocol relative urls are handled correctly.
    
    #2557
    NTaylorMullen committed Oct 30, 2013
Commits on Oct 31, 2013
  1. @NTaylorMullen

    Added extra verifyReconnect checks to ensure that if the client goes …

    …to sleep that we do not mark it active prior to trying to reconnect.
    
    - Also added a test to verify that this scenario is covered.
    - Changed how the test utilities verify that foreverFrame is enabled.
    
    #2484
    NTaylorMullen committed Oct 25, 2013
  2. @NTaylorMullen

    Added extra verifyReconnect checks to ensure that if the client goes …

    …to sleep that we do not mark it active prior to trying to reconnect.
    
    - Also added a test to verify that this scenario is covered.
    
    #2528
    NTaylorMullen committed Oct 28, 2013
Commits on Oct 30, 2013
  1. @gustavo-armenta
Commits on Oct 29, 2013
  1. @NTaylorMullen
Commits on Oct 24, 2013
  1. @NTaylorMullen @NTaylorMullen

    Altered when we transition into the disconnected state during connect…

    …ion.stop.
    
    - This ensures that when the disconnected handler is called that we're in the disconnected state.
    - Removed the try -> finally for this transition because the state transition now occurs prior to anything that would throw.
    - Added a simple unit test to ensure that disconnected is triggered while in the disconnected state.
    
    #2554
    NTaylorMullen committed with NTaylorMullen Oct 21, 2013
Commits on Oct 23, 2013
  1. @DamianEdwards
  2. @NTaylorMullen

    Re-added a sleep to a test.

    - The sleep was in the test that this test was built from in order to prevent a reconnect race.
    NTaylorMullen committed Oct 23, 2013
Commits on Oct 21, 2013
  1. @gustavo-armenta
Commits on Oct 19, 2013
  1. @davidfowl
  2. @davidfowl
Commits on Oct 17, 2013
  1. @gustavo-armenta @davidfowl
Commits on Oct 16, 2013
  1. @abnanda1
Commits on Oct 10, 2013
  1. @NTaylorMullen

    Added a test to verify that ReconnectWindows work appropriately.

    Fixed tests to abide by new heartbeat timer and the last message at value.
    
    Fixed some more keep alive fact tests since the heartbeat monitor now requires to be started before beat works for keep alive.
    NTaylorMullen committed Sep 18, 2013
  2. @NTaylorMullen

    Added a default beat interval for the HeartbeatMonitor in the situati…

    …ons where KeepAlive is disabled on the server.
    
    - Also fixed some tests to properly return transports with valid SupportsKeepAlive values.
    
    Initialize the lastActiveAt flag to ensure that there's no race between a transport start and the flag set.
    
    - This is to ensure we don't pre-emptively close connections on reconnect.
    NTaylorMullen committed Sep 20, 2013
  3. @NTaylorMullen

    Added a ReconnectWindow to the connection object.

    - ReconnectWindows are used to ensure that connections do not attempt to reconnect after extended periods of time.
    NTaylorMullen committed Sep 18, 2013
  4. @NTaylorMullen

    Modified KeepAlive to utilize a LastMessageAt property.

    - Also modified existing tests that relied on the LastKeepAlive property to now rely on LastMessageAt.
    - LastMessageAt can now be used by LongPolling for message monitoring purposes.
    NTaylorMullen committed Sep 18, 2013
Commits on Oct 9, 2013
  1. @halter73
Commits on Oct 8, 2013
  1. @davidfowl
Commits on Oct 4, 2013
  1. @davidfowl
Commits on Oct 2, 2013
  1. @abnanda1
Commits on Sep 30, 2013
  1. @abnanda1
  2. @abnanda1

    Moved the opening of stream to the CreateSubscription method to make …

    …it work when we re-create a subscription
    abnanda1 committed Sep 20, 2013
  3. @abnanda1
  4. @abnanda1
  5. @abnanda1

    Made changes to not throw exceptions in case of config, auth or messa…

    …ging errors in Service Bus
    
    
    #2542 #2541
    abnanda1 committed Sep 30, 2013
  6. @abnanda1

    Removed handling the QuotaExceededException separately since it is al…

    …so a MessagingException
    
    Conflicts:
    	src/Microsoft.AspNet.SignalR.ServiceBus/ServiceBusConnection.cs
    abnanda1 committed Sep 27, 2013
  7. @NTaylorMullen
  8. @NTaylorMullen

    Added a lastActiveAt property that is used to indicate if JavaScript …

    …is running in the browser.
    
    - Utilized the new generic heart beat check
    - Reverted the ConnectionTimeout change and left it at 110 seconds.
    
    #2484
    NTaylorMullen committed Sep 19, 2013
  9. @NTaylorMullen

    Added a generic heartbeat method that is used to check keep alive but…

    … also do any other time related tasks.
    
    - This also involved modifying a lot of the tests to start heartbeats instead of keep alive check loops.
    
    #2484
    NTaylorMullen committed Sep 19, 2013
  10. @davidfowl

    Fixed the build

    davidfowl committed Sep 30, 2013
Commits on Sep 26, 2013
  1. @davidfowl

    Added copyright notices.

    davidfowl committed Sep 26, 2013
Commits on Sep 19, 2013
  1. @NTaylorMullen

    Modified the ping server to no longer special case websockets and to …

    …use the connection.url.
    
    - Also added a test to verify the fix.
    
    #2569
    NTaylorMullen committed Sep 19, 2013