swh:1:snp:c53ab93da1867a0ee99951a3636bca865f9194df

sort by:
Revision Author Date Message Commit Date
e484239 bump 27 June 2013, 20:00:54 UTC
02b12c1 Merge pull request #198 from kanaka/master Add subprotocol support 18 June 2013, 20:56:49 UTC
aa1f919 Merge pull request #202 from arlolra/target Add target attribute to events. 18 June 2013, 20:56:11 UTC
81bb913 Add tests for target on events. 16 June 2013, 20:43:09 UTC
ff04353 Add target attribute to events. 01 June 2013, 21:41:52 UTC
8a2e11d Add subprotocol support. #29, #192, #193. - The client will set ws.protocol based on the subprotocol returned by the server. Fixes #192. - The server application can select from multiple client subprotocol options by specifying a handleProtocols in initialization options. This function takes two arguments; the first is an array of subprotocols sent by the client (empty array if no subprotocol specified by the client), the second is a callback function. The callback function takes two arguments; the first indicates if the client subprotocols are valid, the second argument (only passed when first is true) is the subprotocol string selected to return to the client. Fixes #29. Fixes #193. - The default subprotocol behavior of the server is to select/return the first subprotocol in the list. - Includes 6 tests to test subprotocol support: - test default behavior of selecting first subprotocol - test custom handleProtocols that selects a subprotocol - detect server sending invalid subprotocol - detect server sent no subprotocol even though client sent subprotocol header. - test custom handleProtocols that rejects connection based on invalid client subprotocol request. - server responds with 501 to client if the handleProtocols handler neither selects a protocol nor rejects the connection. 29 May 2013, 02:32:46 UTC
0dce161 Merge pull request #186 from joaojeronimo/patch-1 missing semi colon 09 May 2013, 14:31:09 UTC
8093fde Merge pull request #189 from ralphtheninja/master Add 'Host' and 'Origin' to request header, fixes problems with mtgox websocket 09 May 2013, 14:30:35 UTC
c091e1c Add 'Host' and 'Origin' to request header. Fixes problems with mtgox 04 May 2013, 13:06:56 UTC
ea47c1f missing semi colon 30 April 2013, 15:03:26 UTC
ffb8256 ensure travis node.10 build 25 April 2013, 08:51:25 UTC
43f578b typo broke the build 25 April 2013, 08:48:33 UTC
31d51e1 include 0.10 for travis 25 April 2013, 08:12:51 UTC
2d87d44 ensure ssl options are propagated to request 25 April 2013, 08:10:45 UTC
659f564 build fix, bug fix 25 April 2013, 08:06:53 UTC
9b5179b ensure closeTimer clear 25 April 2013, 08:05:04 UTC
806fb73 Merge pull request #175 from AndreasMadsen/clear-timer don't setup multiply timeouts for one connection 25 April 2013, 08:04:22 UTC
21bdbff Merge pull request #184 from jodaka/master Added simple example of using ws over SSL 25 April 2013, 08:02:05 UTC
ee74d29 rewrite websocketserver option check to use options.js 0.0.5 25 April 2013, 08:00:53 UTC
76a1ae3 require options greater than 0.5 25 April 2013, 07:59:01 UTC
78f09e1 require options.js greater than 0.0.4 25 April 2013, 07:55:02 UTC
56a1753 Merge branch 'master' of git://github.com/wpreul/ws-fork into wpreul-master 25 April 2013, 07:27:43 UTC
b838d6c simple example of running websockets over SSL 23 April 2013, 14:03:15 UTC
5237134 Allow self signed certs for testing. #182 11 April 2013, 14:48:16 UTC
dce4634 Make it clear that the callback is only called when you supply the constructor with a port number. Callbacks do not make sense if you supply it with a server as you will be the one that does `server.listen(port, [cb])`. 11 April 2013, 14:28:44 UTC
7dd06c0 The port number was causing conflicts with other services that run on ports. Setting the port numbers to 8000 resolved the issue locally. 11 April 2013, 14:08:59 UTC
b23ce59 A TCP socket doesn't have a `terminate` method. Use destroy instead. Fixes #181 11 April 2013, 13:51:25 UTC
dcf5de5 don't setup multiply timeouts for one connection 09 April 2013, 13:51:49 UTC
6a6b4ef Merge pull request #153 from jmatthewsr-ms/master Fix for slab buffer retention, leading to large memory consumption 09 April 2013, 07:56:21 UTC
fa6b323 Merge pull request #176 from 3rd-Eden/master Emit the close event before destroying the internal _socket 09 April 2013, 07:49:41 UTC
fa6c5ea Allow support for binding to ethereal port 08 April 2013, 15:45:45 UTC
077d3de Emit the close event before destroying the internal _socket This way we can still read out the bytesRead and bytesSend from the socket when it closes the connections. This can be useful for metrics collection etc. 05 April 2013, 23:13:30 UTC
878d67e Merge pull request #172 from arlolra/message Autodetect ArrayBuffers as binary when sending. 31 March 2013, 18:40:57 UTC
d23de43 Merge pull request #164 from lukasberns/master Client-side certificate support 31 March 2013, 15:10:55 UTC
adc9d02 Merge pull request #170 from BallBearing/states Add ready states to WebSocket instances. 31 March 2013, 15:09:43 UTC
c821937 Merge pull request #168 from arlolra/bufferedAmount Expose bufferedAmount 31 March 2013, 15:09:23 UTC
4d927b1 test auto-detecting buffer as binary 31 March 2013, 00:46:03 UTC
1491689 check instanceof Buffer for binary data 30 March 2013, 20:23:22 UTC
4a720eb test bufferedAmount 30 March 2013, 19:13:47 UTC
d28852a Autodetect ArrayBuffers as binary when sending. Increase compliance with WebSocket API: http://www.w3.org/TR/2012/CR-websockets-20120920/#dom-websocket-send Add the type attribute to MessageEvent: http://www.w3.org/TR/2012/CR-websockets-20120920/#handler-websocket- onmessage 30 March 2013, 16:25:20 UTC
b519959 use Object.defineProperty 29 March 2013, 14:56:52 UTC
2ae1c1c Add ready states to WebSocket instances. Increase compliance with the WebSocket API: http://www.w3.org/TR/2012/CR-websockets-20120920/#the-websocket- interface 29 March 2013, 04:36:18 UTC
3293702 Create test for instance state properties. 29 March 2013, 04:34:34 UTC
28e3628 use bufferSize instead 22 March 2013, 23:43:14 UTC
ba92426 expose bufferedAmount 22 March 2013, 23:02:34 UTC
d8f26c2 Add client-side certificate support Code is adapted from jnardone's branch + tests and documentation Certificate fixtures are generated with the Makefile from the node source code 08 March 2013, 01:09:43 UTC
c6c2cad Document options for WebSocket() 08 March 2013, 00:59:38 UTC
f00ec8e Merge pull request #158 from inolen/master Don't use byteLength when sending ArrayBufferView 28 February 2013, 15:12:00 UTC
c18aae8 Merge pull request #161 from shtylman/patch-1 fix browser field in package.json 28 February 2013, 15:10:50 UTC
cc796b7 fix browser field in package.json When specifying an alternate main entry point, it is sufficient to just use a string for the browser field. 11 February 2013, 19:15:18 UTC
fc0b9c3 Don't use byteLength when being passed an ArrayBufferView 03 February 2013, 09:05:22 UTC
8188e1f Merge pull request #149 from slaskis/patch-1 No masking of frames from server in wscat 26 January 2013, 11:56:40 UTC
f44e826 Fix for retaining large slab buffers in node core 24 January 2013, 22:13:25 UTC
198d7fa Don't mask frames from server in wscat fixes #144 16 January 2013, 09:15:36 UTC
8c5ab0b fixed history date 17 December 2012, 20:56:53 UTC
23e93cb bump 17 December 2012, 20:54:12 UTC
3e776c0 updated installation procedure to supress error message 17 December 2012, 20:53:55 UTC
a1245ba only listen for server event when theres actually a server instance 17 December 2012, 19:22:12 UTC
5b9da5a updated history 17 December 2012, 19:17:08 UTC
fbd1f57 Merge branch 'master' of github.com:einaros/ws 17 December 2012, 19:16:53 UTC
19946a9 Merge pull request #137 from sebpiq/master Emit 'listening' also with custom http server. 17 December 2012, 19:16:13 UTC
2ca9c55 Merge pull request #140 from Raynos/host support overwriting host header 17 December 2012, 19:15:12 UTC
16d6184 got rid of install.js 17 December 2012, 19:12:39 UTC
f7eb821 Merge pull request #143 from shtylman/master add browser field to package.json 17 December 2012, 19:05:04 UTC
0fc4d63 bump 11 December 2012, 19:50:32 UTC
45f33d0 history update 11 December 2012, 19:47:18 UTC
08852f8 add browser shim to package.json When packaging this module for client side delivery, the browser field in package.json provides a hint to the package tool about which files to replace with client targeted counterparts. 11 December 2012, 16:00:56 UTC
d65468c further changes to ensure that install runs without native support 06 December 2012, 08:39:51 UTC
c04d27a support overwriting host header 05 December 2012, 22:55:53 UTC
4c63145 Emit 'listening' also with custom http server. 05 December 2012, 13:45:26 UTC
49bc8df Merge pull request #125 from machenmusik/master handle proxy forwarding headers; handle binary frames for draft-76 (type 0x80) 30 November 2012, 08:09:03 UTC
752fb44 Merge pull request #134 from leedm777/subprotocol Added wscat option for specifying subprotocol 30 November 2012, 08:07:22 UTC
e187a3b Merge pull request #135 from mmalecki/node-apis Add some node-ish APIs 30 November 2012, 08:06:27 UTC
9412ac0 Merge pull request #133 from ronkorving/master Removed unused arguments from WebSocketServer#close 30 November 2012, 08:04:59 UTC
262d787 Add some node-ish APIs Please note that they are not intended to reflect already existing APIs. 30 November 2012, 00:46:27 UTC
911de4e Added wscat option for specifying subprotocol 21 November 2012, 00:06:30 UTC
6f0cdf3 Removed both unused arguments from WebSocketServer#close() 20 November 2012, 06:51:53 UTC
b2d5c11 remove commented-out console.log; add simple tests 20 November 2012, 00:24:16 UTC
d85da21 bump 19 November 2012, 20:28:23 UTC
807ce88 listen on 0.0.0.0 by default - fixes #132 19 November 2012, 20:26:40 UTC
c058301 Revert "Add server sub-protocol handler option." This reverts commit 0eea4c437ce35fe28cedfa238be45261a66c246c. 19 November 2012, 20:23:56 UTC
1dc9428 Merge pull request #126 from kanaka/master Allow application selection of subprotocol value 06 November 2012, 20:39:01 UTC
0eea4c4 Add server sub-protocol handler option. If the handleProtocols attribute is set in the options for WebSocketServer then this function will be called to select a subprotocol otherwise the first subprotocol sent by the client will be returned. The handleProtocols function takes two arguments: a list of subprotocol strings and a callback. The callback takes two arguments: the result and the selected subprotocol. The handleProtocols handler routine should select a subprotocol from the subprotocols first argument based on whatever criteria the application uses and call the callback with first argument set to true and the selected subprotocol string as the second argument. If the application determines that the client subprotocol list does not have a valid subprotocol then it should call the callback with a false first argument. This will cause the handshake to fail with a 404 (not found) error. 26 October 2012, 18:40:34 UTC
abd9cfb handle binary frames for draft-76 (type 0x80) 26 October 2012, 17:39:03 UTC
48aee1e handle proxy forwarding headers 26 October 2012, 17:38:44 UTC
09e6372 bump 03 October 2012, 12:42:07 UTC
b0be70f Merge pull request #97 from sonnyp/master Fix the sub protocol header handler 01 October 2012, 12:19:09 UTC
101788c Merge pull request #105 from jmatthewsr-ms/master unhandled exception if socket closes and 'error' is emitted 01 October 2012, 12:18:55 UTC
84e9e6f Merge pull request #120 from AndreasMadsen/clear-timer clear failsafe cleanup timeout once cleanup is called 24 September 2012, 12:25:25 UTC
d709456 clear failsafe cleanup timeout once cleanup is called 23 September 2012, 20:16:12 UTC
adbc68c handle error on socket to avoid exception 31 July 2012, 18:16:28 UTC
e400093 Merge pull request #100 from pje/patch-1 README typo: 17 July 2012, 00:26:47 UTC
f80a98d README typo: - `s/extensible/extensive/` - unless you actually meant "extensible"...? - :eggplant: 17 July 2012, 00:22:22 UTC
2fcd212 update travis to include 0.6 and 0.8 16 July 2012, 13:13:01 UTC
c2c4c09 now working on 0.5 16 July 2012, 13:08:02 UTC
46586c1 added w3c compatible CloseEvent for onclose / addEventListener("close", ... 16 July 2012, 13:06:40 UTC
9ced0b8 Merge branch 'master' of github.com:einaros/ws 14 July 2012, 15:22:08 UTC
186b762 bump 14 July 2012, 15:21:51 UTC
65a84cb emit error event if server responds with anything other than status code 101 14 July 2012, 15:08:45 UTC
4fc8c81 Fix the sub protocol header handler 08 July 2012, 19:10:49 UTC
back to top