Commit Graph

172 Commits

Author SHA1 Message Date
Guillermo Rauch
6f37628b4f Clearing heartbeat interval upon closing the connection
Commenting client serving test (made the tests hang)
Make sure to close the netserver if all listeners http servers are closed
2010-10-04 16:41:48 -03:00
Guillermo Rauch
30f0521461 Adapting websocket client api to ev.data
Closing as opposed to disconnecting when websocket errors out
2010-10-03 18:44:17 -03:00
Guillermo Rauch
36463a245e Moved dependencies into support/ from tests/support
Adapted Makefile
2010-10-03 18:24:16 -03:00
Guillermo Rauch
0dd9cc3ada _decode and _encode moved to utils
Removed accidental 1==2 for serving the not modified status code for the client
Finished websocket test
2010-10-03 18:19:21 -03:00
Guillermo Rauch
2dd8c58506 Re-enabling all tests 2010-10-03 15:59:06 -03:00
Guillermo Rauch
4465d3416b Tabs => spaces 2010-10-03 15:40:06 -03:00
Guillermo Rauch
b5deea4855 Converted tabs into spaces
Typo fix in flash socket warning message
2010-10-03 15:39:24 -03:00
Guillermo Rauch
a883f17fac Close the server upon timeout
Starting converting back to spaces to comply with node coding standards
2010-10-03 15:32:51 -03:00
Guillermo Rauch
96603825d1 Merge branch 'master' of git://github.com/maccman/Socket.IO-node 2010-10-01 11:24:08 -03:00
Guillermo Rauch
ee2a71755f Merge branch 'master' of git://github.com/SlNPacifist/Socket.IO-node 2010-09-29 12:28:08 -03:00
slnpacifist
1907b41637 returned data.length in listener.js since data is of type buffer 2010-09-29 19:58:55 +07:00
Guillermo Rauch
50f98107a4 Node required version 2010-09-28 13:09:47 +02:00
slnpacifist
d2ead47fca added encode=UTF-8 in jsonp-polling.js and xhr-polling.js since UTF-8 is the default encoding for http.ServerResponse.write
replaced string.length with Buffer.byteLength in jsonp-polling.js, listener.js and xhr-polling.js because content-length header requires number of bytes and not the number of symbols in string
2010-09-28 17:28:31 +07:00
Alex
4803d7b888 Merge branch 'master' of github.com:maccman/Socket.IO-node 2010-09-28 00:28:00 +01:00
Alex MacCaw
607fe38952 Fix COR headers/requests for different ports on Safari. 2010-09-27 06:46:19 -07:00
Alex MacCaw
fcba035330 Fix COR headers/requests for different ports on Safari. 2010-09-27 06:45:53 -07:00
Guillermo Rauch
c1e08318ca Clearing the references to request, response and connection upon disconnect. 2010-09-26 16:29:51 +02:00
Guillermo Rauch
9cb8e3761b Updated client 2010-09-25 11:20:58 +02:00
Guillermo Rauch
965bc9797a Updating client 2010-09-24 06:05:27 +02:00
Alex
c06de0953b add package.json for npm 2010-09-23 11:34:31 +01:00
Guillermo Rauch
17d5ab7fe7 Updated client 2010-09-20 16:29:45 -07:00
Guillermo Rauch
880fb2b71d Updated client
[ocd] fix
2010-09-20 16:26:52 -07:00
Guillermo Rauch
0464e4c1b5 Updated client 2010-09-20 15:42:54 -07:00
Guillermo Rauch
8ef523b97e Expresso updated for regular expressions suppport (thanks tj) 2010-09-20 12:32:49 -07:00
Guillermo Rauch
a264f98e78 Updated expresso 2010-09-20 12:23:03 -07:00
Guillermo Rauch
efd458be7d Cleaned up index and websocket tests 2010-09-20 12:03:18 -07:00
Guillermo Rauch
876cb2bd2e Corrected Makefile target tests expression 2010-09-20 11:56:59 -07:00
Guillermo Rauch
5524812243 client.js tests fixes
Removed `.test` suffix from tests
Updated node-websocket-client
2010-09-20 11:56:27 -07:00
Guillermo Rauch
fbb9a46ba0 Credits to 3rd-Eden for his many patches 2010-09-17 16:11:00 -07:00
Arnout Kazemier
c6b176555e Every require is blocking and requiring the sys module over and over and over again just makes no sense + it hurt performance.. Not to mention.. that it's already included. 2010-09-17 14:52:57 -07:00
Arnout Kazemier
a387982289 When an error occurs during the connection we should disconnect 2010-09-17 13:51:25 -07:00
Arnout Kazemier
fac2498f1f The listen method doesn't return a netserver instance, so the server onclose netserver.close will fail because netserver will be undefined. 2010-09-17 13:50:06 -07:00
Guillermo Rauch
28909f3826 Updated client 2010-09-10 13:36:19 -07:00
Guillermo Rauch
61f4e27029 Socket.IO-node now serves the client out of the box for easier implementation
Memory caching and ETag support for static files
Tests
Simplified demo even further thanks to new static file serving
2010-09-09 17:54:25 -07:00
mgc
4b75668511 Failing to pass an origin header would throw an exception and crash the server. Added some handling. 2010-09-04 04:50:44 -04:00
Guillermo Rauch
d0415723ff .connected renamed to ._open, and adopted proper connected (fixes #41)
example/client updated to latest socket.io client
2010-09-05 16:49:18 -07:00
Guillermo Rauch
61e76db16c Better checking of WebSocket connections 2010-09-03 11:47:31 -07:00
Guillermo Rauch
701c35d952 Fix for certain buggy clients. Needs more investigation. Thanks Malte Ubl (@cramforce) for the report. Fixes #44 2010-09-03 11:28:23 -07:00
Guillermo Rauch
84ee2d8788 Updated client 2010-09-02 12:28:17 -07:00
Guillermo Rauch
e1cffb260c Spacing fix 2010-09-01 13:25:50 -07:00
Guillermo Rauch
670ecbec89 Updated client 2010-09-01 02:06:45 -07:00
Guillermo Rauch
d920f8e64a Merge branch 'master' of git://github.com/aheckmann/Socket.IO-node 2010-09-01 01:31:39 -07:00
Guillermo Rauch
5279b13f54 Better handling of SSL location (thanks @jdub) 2010-09-01 01:26:23 -07:00
Aaron Heckmann
831c293b0c cache the length property 2010-09-01 01:07:24 -04:00
Guillermo Rauch
691de0ed7f Fix for cross-domain websocket (fixes #42) 2010-08-31 15:26:56 -07:00
Guillermo Rauch
c9ec8e27d2 Updated docs
Added clientsIndex reference for BC
2010-08-31 14:36:05 -07:00
Guillermo Rauch
ab623c341b Added sweet error message when trying to use flashsocket without root privileges (thanks @wink for inspiration)
Removed clients/clientsIndex and only using the index (fixes #28)
2010-08-31 14:26:02 -07:00
Guillermo Rauch
24b2714820 [README] Transports clarification 2010-08-31 12:10:25 -07:00
Guillermo Rauch
c023fae2e2 Updated client
Fixed WebSocket location header for ws/wss (Thanks @jdub, Fixes #40)
2010-08-30 19:00:52 -07:00
Guillermo Rauch
39bc1755d8 end was being fired before the connection had really ended in MobileSafari (fixes #29 and potentially creationix issue) 2010-08-30 18:13:26 -07:00