65 Commits

Author SHA1 Message Date
Erik
a4e81fee6a fix outstanding poll messages after switch to websockets 2015-04-06 12:49:39 -04:00
Erik
9489676009 use weak references to client 2015-04-06 11:56:47 -04:00
Erik
838dade0fa Fix messages getting stuck in post 2015-04-03 16:18:15 -04:00
Erik
affd792334 redo acks 2015-04-03 16:04:50 -04:00
Erik
f7b064d80f refactor SocketEngine#sendPing 2015-04-01 14:49:01 -04:00
Erik
01a699c7c6 add return to pong message 2015-03-31 00:04:09 -04:00
Erik
93f1cfe9dc fix socketio/socket.io-client-swift#36 2015-03-28 16:54:48 -04:00
Erik
57731bebf8 Fix for first polling messages with unicode 2015-03-27 12:35:12 -04:00
Erik
a4361a04b6 style 2015-03-27 12:14:45 -04:00
Erik
ffcd841267 Fix binary acks 2015-03-27 12:13:06 -04:00
Erik
98e0c355f9 add forcewebsockets option 2015-03-27 09:35:39 -04:00
Erik
182ba0017b fix nuclearace/Socket.IO-Client-Swift#12 better closing 2015-03-25 11:50:25 -04:00
Erik
4de422e7f1 tweaks 2015-03-22 09:53:25 -04:00
Erik
8b893ad85e refactor 2015-03-21 18:16:09 -04:00
Erik
6ac69d1c2d fix for acks 2015-03-20 20:51:06 -04:00
Erik
5388084c79 seems to be on par with the native js-client most of the time 2015-03-20 20:24:59 -04:00
Erik
18b8f992d9 Tweaks for performance 2015-03-20 15:23:38 -04:00
Erik
4832be5c8a better parsing 2015-03-20 10:51:26 -04:00
Erik
cbc59d6004 fix race condition 2015-03-19 14:13:03 -04:00
Erik
72d5c07de1 refactor 2015-03-19 14:04:02 -04:00
Erik
54b2da8395 work on redesign 2015-03-19 13:22:58 -04:00
Erik
fd3dbee71c fixes 2015-03-19 08:23:43 -04:00
Erik
5b180a0a6d fix socketio/socket.io-client-swift#20, change objc api 2015-03-18 18:04:43 -04:00
Erik
1a5487fec5 Merge branch 'auth' 2015-03-18 13:27:06 -04:00
Erik
89ae9bd349 handle utf8 in polling better 2015-03-18 13:05:39 -04:00
Erik
ab77d7260e work on socketio/socket.io-client-swift#17 2015-03-17 23:57:31 -04:00
Erik
44e2781076 #11 2015-03-16 13:24:25 -04:00
Erik
fea16879e1 Receive doubly encoded utf8 in polling until https://github.com/Automattic/engine.io/issues/315 is fixed properly 2015-03-16 13:12:37 -04:00
Erik
c103734035 work on parsing stuff 2015-03-15 23:41:01 -04:00
Erik
bb6bd2b4ca fix race condition in polling 2015-03-14 19:09:54 -04:00
Erik
2cc68aead6 Don't poll on sendPollMessage 2015-03-13 09:51:53 -04:00
Erik
1f05bde09b small tweaks 2015-03-13 09:09:37 -04:00
Erik
37537de213 change visibility of socketioclient members 2015-03-12 16:34:08 -04:00
Erik
74939f1cea fixes 2015-03-12 13:38:06 -04:00
Erik
711ce8d8c4 fixes. add better objective-c support 2015-03-11 17:33:21 -04:00
Erik
8365ded215 Use starscream for websockets. Execute emitAcks on the main queue. 2015-03-11 13:33:54 -04:00
Erik
6399df4c33 tweaks 2015-03-06 21:17:26 -05:00
Erik
ae28a02163 Use a ephemeral NSURLSession for polling, because NSURLConnection.sendAsnc.. seems to either leak memory, or cache 2015-03-06 18:24:06 -05:00
Erik
41c168a29a Fixes. Add onAny method 2015-03-06 16:29:13 -05:00
Erik
44bff82a43 better reconnects 2015-03-06 12:13:00 -05:00
Erik
851ac7635a Fix connection issues, binary data in nested data structures, some race conditions, reconnect needs to be redone 2015-03-05 22:06:17 -05:00
Erik
166b2b515b make sure we're polling 2015-03-05 15:19:17 -05:00
Erik
59a5e1928c clean up 2015-03-05 15:16:34 -05:00
Erik
d35934c79d handle binary data better 2015-03-05 14:37:00 -05:00
Erik
c85a1def87 tell client about failed ws 2015-03-05 13:45:25 -05:00
Erik
5ed2688c9e better handle when the server closes the connection (polling) 2015-03-05 12:55:09 -05:00
Erik
296802fddb better handle closes 2015-03-05 11:06:11 -05:00
Erik
829992fcef send disconnect on polling close 2015-03-04 23:39:11 -05:00
Erik
543a3c8f91 add toggle for polling only 2015-03-04 23:15:11 -05:00
Erik
68a0f8d9ac gotta go fast 2015-03-04 22:53:57 -05:00