evristzam / ndt

Automatically exported from code.google.com/p/ndt
Other
0 stars 0 forks source link

NDT doesn't support websockets #166

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'd like it if we could also run NDT tests over websockets. Websockets are just 
like TCP sockets, except there is an initial HTTP handshake, and there is a 
required on-the-wire framing protocol.

To get this working, we need NDT to:
1) detect an incoming websocket request and perform the websocket handshake - 
for every kind of test that opens a new socket.
2) send NDT messages inside websocket messages.
3) properly read websocket messages and convert into NDT messages
4) make the S2C test send valid random-looking websocket data instead just 
random-looking data.

2 and 3 I've already got working, 1 is being worked on, and 4 remains to be 
done.  I'm creating this as a tracking bug so that people know that this is 
being worked on.

Original issue reported on code.google.com by pboo...@google.com on 18 Dec 2014 at 8:16