1. 18 6月, 2016 1 次提交
    • R
      Add heartbeat lock to SockJS server sessions · 4c87167c
      Rossen Stoyanchev 提交于
      Even before this change SockJS sessions always cancelled the heartbeat
      task first prior to sending messages. However when the heartbeat task
      is already in progress, cancellation of it is not enough and we must
      wait until the heartbeat is sent.
      
      This commit adds a heartbeat write lock which is obtained and held
      during the sending of a heartbeat. Now when sessions send a message
      they still cancel the heartbeat task but if that fails they also wait
      for the heartbeat write lock.
      
      Issue: SPR-14356
      4c87167c
  2. 21 10月, 2014 1 次提交
  3. 12 8月, 2014 1 次提交
  4. 22 4月, 2014 1 次提交
  5. 23 3月, 2014 1 次提交
  6. 17 1月, 2014 1 次提交
    • R
      Write prelude on successive SockJS streaming requests · c1f3da08
      Rossen Stoyanchev 提交于
      sockjs-client expects a prelude to be written on every request with
      streaming transports. The protocol tests don't make this clear and
      don't expose this issue.
      
      The test case for SPR-11183 (writing 20K messages in succession) did
      expose the issue and this commit addresses it.
      
      Issue: SPR-11183
      c1f3da08
  7. 08 12月, 2013 1 次提交
    • J
      Introduced SockJsSession interface and moved SockJsSessionFactory and... · 1f9b833c
      Juergen Hoeller 提交于
      Introduced SockJsSession interface and moved SockJsSessionFactory and SockJsServiceConfig to sockjs.transport; added initialize(SockJsServiceConfig) method to TransportHandler interface; extracted TransportHandlingSockJsService from DefaultSockJsService; moved sockjs.support.frame to sockjs.frame and extracted (Default)SockJsFrameFormat from SockJsFrame; moved SockJsHttpRequestHandler to sockjs.support; removed Jackson 1.x support
      1f9b833c
  8. 04 12月, 2013 1 次提交
  9. 22 8月, 2013 1 次提交
    • R
      Polish DefaultHandshakeHandler · e5406283
      Rossen Stoyanchev 提交于
      After this change the DefaultHandshakeHandler delegates to a
      server-specific RequestUpgradeStrategy to update the HTTP response for
      the handshake request and to begin the WebSocket interaction.
      
      The DefaultHandshakeHandler however still retains the initial
      validation of the WebSocket handshake including negotation of origin,
      sub-protocol, etc. This allows sub-classes to override various
      aspects of the negotiation independant of the WebSocket engine.
      e5406283
  10. 14 8月, 2013 1 次提交
    • R
      Add HandshakeInterceptor · 319f18dd
      Rossen Stoyanchev 提交于
      A HandshakeInterceptor can be used to intercept WebSocket handshakes
      (or SockJS requests where a new session is created) in order to
      inspect the request and response before and after the handshake
      including the ability to pass attributes to the WebSocketHandler,
      which the hander can access through
      WebSocketSession.getHandshakeAttributes()
      
      An HttpSessionHandshakeInterceptor is available that can copy
      attributes from the HTTP session to make them available to the
      WebSocket session.
      
      Issue: SPR-10624
      319f18dd
  11. 03 8月, 2013 1 次提交
  12. 01 8月, 2013 1 次提交
  13. 28 6月, 2013 1 次提交
  14. 15 5月, 2013 2 次提交