Commit Graph

426 Commits

Author SHA1 Message Date
roam
0dfa68c710 Fixed packet send callback design issue
There were two issues here.
1. When Socket.send called with or without callback alternately,
   the trigger order is incorrect.
2. The 'drain' event from transport is one per packet for transports
   supporting framing like websocket and is all in one for those without
   framing like polling.
2012-12-20 00:49:32 +08:00
Guillermo Rauch
9d9fe9e2e2 socket: emit data event (synonym with message) 2012-12-17 09:57:54 -03:00
Guillermo Rauch
95ded5d885 engine.io: style 2012-12-17 08:45:14 -03:00
Guillermo Rauch
12f1821f1c socket: added Socket#write 2012-12-16 23:35:42 -03:00
Guillermo Rauch
01e06d7a4f engine.io: cleanup 2012-12-16 20:35:54 -03:00
Guillermo Rauch
c59bb42e85 engine.io: deprecated resource 2012-12-16 20:25:08 -03:00
Guillermo Rauch
73c772d0b3 Revert "engine.io: added middleware attachment possibility (eg: for express)"
This reverts commit 7b3243dbea.
2012-12-16 18:49:06 -03:00
Guillermo Rauch
be99036ebc package: bumped versions 2012-12-13 12:30:41 -03:00
Guillermo Rauch
c10a9ae6a0 test: adapted version checking for 0.4 2012-12-13 12:30:26 -03:00
Guillermo Rauch
7b3243dbea engine.io: added middleware attachment possibility (eg: for express) 2012-12-13 12:29:37 -03:00
Guillermo Rauch
7e0cdcad42 Merge pull request #128 from Raynos/patch-1
`npm docs engine.io` works now
2012-12-07 02:15:49 -08:00
Raynos
aad92df830 Update package.json 2012-12-06 21:50:30 -08:00
Raynos
640b760f58 npm docs engine.io works now 2012-12-06 21:49:56 -08:00
Guillermo Rauch
ebc1bebefa Merge pull request #126 from venportman/patch-1
Update README.md
2012-12-04 19:20:57 -08:00
ven
d336a12228 Update README.md
fixed spelling error 'chaning' > 'changing'
2012-12-04 22:04:06 -05:00
Guillermo Rauch
94f082be0c Release 0.3.10 2012-12-03 09:09:33 -03:00
Guillermo Rauch
96902f54a5 package: bumped engine.io-client with close fixes 2012-12-03 09:07:24 -03:00
Guillermo Rauch
58ff8991d0 Merge branch 'master' of github.com:/LearnBoost/engine.io 2012-12-03 08:34:55 -03:00
Guillermo Rauch
472b3f15b1 Merge pull request #121 from Jxck/master
add pakcet, packetCreate document to README
2012-11-10 10:16:57 -08:00
Jxck
fe59f275d8 Merge branch 'master' of github.com:Jxck/engine.io 2012-11-10 22:46:34 +09:00
Jxck
8b549b622f add pakcet, packetCreate document to README 2012-11-10 22:45:26 +09:00
Jxck
d206381347 add pakcet, packetCreate document to README 2012-11-10 22:41:15 +09:00
Guillermo Rauch
3bafecd882 Merge branch 'master' of github.com:/LearnBoost/engine.io 2012-11-06 08:25:07 -08:00
upbot
5ff0c1976a Merge pull request #120 from Jxck/master
createPacket event
2012-11-06 08:21:12 -08:00
Jxck
b4d60687ac add packetCreate event for #99 2012-11-06 20:34:10 +09:00
Guillermo Rauch
ec9334dc03 Merge pull request #114 from Jxck/master
refuctoring test which fales depends on timing
2012-11-05 08:09:00 -08:00
Jxck
dabc50b011 refuctoring test
this test dosen't pass in some timing in my machine.
so make it not to depends on timeout.
2012-11-06 00:50:34 +09:00
Guillermo Rauch
ee1eacf638 Merge pull request #109 from indutny/feature-visible-verification-failure
server: send validation failure reason to clients
2012-11-05 07:26:43 -08:00
Guillermo Rauch
95f0614626 Merge pull request #113 from Jxck/master
#99 `packet` event
2012-11-05 06:57:15 -08:00
Jxck
46f310462b add packet event to socket 2012-11-05 21:33:02 +09:00
Guillermo Rauch
971199d19b engine.io: some cleanup 2012-11-04 09:20:47 -08:00
Guillermo Rauch
92df7872f3 examples: updated client to 0.3.8 (fixes #108) 2012-11-04 09:16:17 -08:00
Guillermo Rauch
a3798f3f15 Merge branch 'master' of github.com:/LearnBoost/engine.io 2012-11-04 09:12:51 -08:00
Guillermo Rauch
13e06795ac transports: remove Connection headers and let node handle it (fixes #111) 2012-11-04 09:11:39 -08:00
Fedor Indutny
bb1f860239 server: send validation failure reason to clients 2012-11-01 00:35:49 +04:00
Guillermo Rauch
72b32827f4 Merge pull request #107 from ruxkor/patch-1
invoking as a function causes attach, refs #104
2012-10-29 05:43:31 -07:00
Andor Goetzendorff
7f08ee3f50 invoking as a function causes attach, refs #104 2012-10-29 13:40:07 +01:00
Guillermo Rauch
82b16fa490 Merge pull request #105 from kapouer/patch-1
Socket.flush: reset writeBuffer before send
2012-10-29 05:18:43 -07:00
Lal Jérémy
bbe3d95513 Socket.flush: reset writeBuffer before send
This prevents legacy node versions from calling Socket.flush before it
could reset writeBuffer, leading to double-flush.
2012-10-24 23:32:23 +03:00
Guillermo Rauch
5fc9785af0 package: fix whitespace 2012-10-23 14:00:00 -07:00
Guillermo Rauch
e4c1cb0727 Release 0.3.9 2012-10-23 13:30:27 -07:00
Guillermo Rauch
5e38123fdb package: bumped engine.io-client 2012-10-23 13:30:11 -07:00
Guillermo Rauch
81fc3018a6 Release 0.3.8 2012-10-23 11:20:31 -07:00
Guillermo Rauch
35d0f98bb5 package: bumped engine.io-client 2012-10-23 11:19:43 -07:00
Guillermo Rauch
c82f8888ec examples: moar ie fixes 2012-10-21 11:43:37 -07:00
Guillermo Rauch
66f91efcfc public: support IE8<= 2012-10-21 11:31:02 -07:00
Guillermo Rauch
fb1993c4df public: fix disconnection message 2012-10-21 11:05:52 -07:00
Guillermo Rauch
62e7771ee2 public: testing out new engine.io-client 2012-10-21 11:03:14 -07:00
Guillermo Rauch
338f547bbe index: introduce process.env.PORT support 2012-10-21 10:55:34 -07:00
Guillermo Rauch
7db43e93c1 public: added copy of engine.io client 2012-10-21 10:55:16 -07:00