Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-943

Websocket handler not supporting protocol version 76

XMLWordPrintable

      The current websocket server handler only supports protocol 75 and since July '10 there's a new spec, version 76. The Websocket server handler should support both versions.

      Original report from Burr:

      "I am trying to build a websocket prototype/demo. That means I am looking at things like Jetty, Resin and Kaazing. AND I would love it if I could just make the demo work with Infinispan - since the final demo vision calls for Infinispan anyway.

      However, with 4.2 - I can't make it work - my guess is the config is off some place.

      Steps:
      1) startserver -r websocket
      2) Open file://localhost/D:/tools/infinispan-4.2.0.FINAL/etc/sample-websocket-client.html
      in Opera (with WS enabled) or Chrome
      3) Put "Hello" and "World"
      4) clear out "World"
      5) Get "Hello"

      But nothing happens, no error messages on the console nor browser for Opera
      with Chrome I get keyChange is not defined and cache is not defined

      Visiting http://localhost:8181/infinispan-ws.js in Chrome does return the JS so the server is responding."

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: