Commit Graph

75 Commits

Author SHA1 Message Date
nkzawa
b56603169a add threshold for permessage-deflate 2015-12-01 14:21:53 +09:00
Guillermo Rauch
057f32d195 Merge pull request #318 from amiuhle/cookie-path
Cookie path
2015-11-21 10:47:26 -08:00
Guillermo Rauch
09e9b4f1ca Update README.md 2015-11-18 17:49:08 -08:00
Guillermo Rauch
1754a3ca34 Fix badges 2015-11-18 10:08:28 -08:00
Guillermo Rauch
a4dcf1958b Merge commit '9e5dd3e5126f1e3a9929bea201c500d0f47bad5d' 2015-07-14 17:19:29 -07:00
Guillermo Rauch
9e5dd3e512 README: fix travis badge 2015-07-14 17:19:02 -07:00
zensh
df4331dd1a support custom socket id 2015-05-08 10:24:32 +08:00
Shinnosuke Watanabe
affbfc59b2 Use SVG badges instead of PNG badges
SVG badges look beautiful on retina displays.
2015-04-30 08:14:07 +09:00
Timo Uhlmann
0c28be9ba5 Test & doc for cookiePath 2015-04-03 15:05:56 +02:00
Naoyuki Kanezawa
d11e17c8d7 support compression 2015-01-06 02:11:39 +09:00
Jonathan Reem
aa132cba67 README: Fix typo http_server. 2014-09-11 01:23:21 -07:00
Roman Shtylman
661e78b1a1 readme: fix formatting for goals numbering 2014-08-05 12:03:30 -07:00
Ivan Fraixedes
038d0ef21e Update README.md
`require(engine.io).listen()` can receive a second optional parameter as options
2014-06-07 17:14:41 +01:00
Roman Shtylman
48f006f947 make require('engine.io')() return a new Server instance
fixes #212
2014-06-04 13:45:48 -04:00
Roman Shtylman
d74f93e4f9 add Server.attach method
This method does what engine.attach use to do but is now on the
instantiated server instance. This makes it possible to create engine.io
servers without yet attaching them to any active http server.

When creating a project which will server static files/pages alongside
engine.io on the same domain/process this makes it easier to separate
logic into files without having to pass around the http server.
2014-06-04 13:45:43 -04:00
Aaron1011
5d83c7c222 Fix Travis Badge URL in README 2014-05-28 15:07:37 -04:00
Guillermo Rauch
10261c5211 removed flashsocket, moving to userland 2014-05-17 15:24:40 -07:00
Guillermo Rauch
4bb92430e0 re-execute tests 2014-05-14 11:38:24 -07:00
Guillermo Rauch
e822d4f1de README: tweak 2014-05-14 11:27:12 -07:00
Guillermo Rauch
2619b9153f README: fix 2014-04-27 14:27:58 -07:00
Guillermo Rauch
32db7c46c0 tweaks 2014-04-11 09:45:52 -07:00
Tony Kovanen
5b7f0cffb1 Updated README to include allowRequest callback 2014-04-11 01:23:42 +03:00
Tony Kovanen
f8100f9237 Added a maximum buffer size to received data from polling. Settable with the maxHttpBufferSize option 2014-03-26 21:19:54 +02:00
Guillermo Rauch
ab4ea948cc Merge pull request #218 from rase-/add/binary-support
Binary support
2014-02-18 17:28:57 -08:00
Guillermo Rauch
fba0495614 README: fix test section 2014-02-09 11:11:05 -08:00
Guillermo Rauch
36b284dd7f README: style 2014-02-08 14:18:48 -08:00
PatrickJS
193f401e79 update copyright year 2014-02-03 02:23:19 -08:00
Tony Kovanen
efc4c06b89 Adapting code to conventions 2014-02-01 13:26:24 +02:00
Tony Kovanen
dbe140c117 Binary support 2014-02-01 01:20:51 +02:00
Mark Mokryn
4785b786cb document Socket.id 2014-01-29 17:09:51 +02:00
Guillermo Rauch
461918ba63 README: point to new spec 2014-01-18 11:34:06 -08:00
Brian White
6bd328e79e Fix typos and use consistent capitalization 2013-03-23 23:56:54 -03:00
Michael Rykov
b6c477a29b Add Version Badge to README 2013-03-18 14:33:50 -07:00
Roman Shtylman
fd36eeaf02 Only end upgrade socket connections if unhandled
This fixes an issue where multiple engine.io instances (on different
paths) would result in the closing of websocket connections for all of
the instances. This happened because each engine.io instance would
register an `upgrade` handler on the server. This handler would check
for a matching path and otherwise call `socket.end()` Since multiple
upgrade events would be triggered with different paths, the peer
handlers would close each other.

This patch resolves this behavior in the following way:
- When an instance upgrade handler encounters a path which it does not
  recognize it creates a timeout for `destroyUpgradeTimeout`.
- At the end of the timeout, the socket is checked for writable state
  and bytes written. If there has been not activity and the socket is
  writable, then it will be ended.

This allows for peer socket handlers to keep the socket alive by sending
some data over it. This also mimics the core node behavior of closing
sockets on upgrade when no handler is specified. We consider not
handling an upgrade request similar to no handler. However, we cannot
immediately end the socket for the reasons noted above.

fixes #143
2013-01-31 22:42:11 -05:00
Guillermo Rauch
c59bb42e85 engine.io: deprecated resource 2012-12-16 20:25:08 -03:00
ven
d336a12228 Update README.md
fixed spelling error 'chaning' > 'changing'
2012-12-04 22:04:06 -05:00
Jxck
8b549b622f add pakcet, packetCreate document to README 2012-11-10 22:45:26 +09:00
Devin Rhode
1c57fdc237 broken link 2012-10-18 09:36:44 -07:00
Guillermo Rauch
88e24feb98 README: documented debug (fixes #77) 2012-09-09 17:36:17 -07:00
Guillermo Rauch
d624dea5b9 README: undocumented path 2012-09-06 11:55:37 -07:00
Guillermo Rauch
f493172331 README: documented send callback 2012-09-04 11:16:27 -07:00
Guillermo Rauch
18da616730 README: simplified client constructor example 2012-09-04 11:13:47 -07:00
EugenDueck
d262459d39 Document that toString() is performed on the message argument
This is what engine.io in fact already (implicitly) does, so I can give it any object I want, and it will send what `message.toString()` returns.

This allows me to implement transparent caching of the JSONified string, speeding up broadcast and multicast messages.
2012-08-14 06:49:07 +09:00
EugenDueck
658b5a6a93 Added description for engine.io-conflation plugin 2012-08-13 06:19:49 +09:00
Guillermo Rauch
d4cb313551 README: plugins list (cc @EugenDueck) 2012-08-12 11:20:03 -07:00
Guillermo Rauch
834cbcf7a5 README: added flush/drain docs 2012-08-10 10:39:00 -07:00
Guillermo Rauch
8085e399bf Update README.md 2012-08-07 17:45:33 -07:00
Guillermo Rauch
a2663e8240 Release 0.1.1 2012-08-01 17:34:33 -07:00
Brian Moore
a671072c06 change 'ws' to 'engine' in README C example 2012-07-16 11:23:47 -07:00
Arnout Kazemier
cbe261f009 Added the correct location of the SPEC file 2012-07-06 15:04:56 +03:00