Tom Atkinson
b4fe763833
Fix packet options
2015-11-23 22:56:34 +01:00
nkzawa
faa0913703
fix test failures on iOS 6.1
2015-11-22 16:39:28 +09:00
Guillermo Rauch
d6d4ec22fa
socket: remove duplicate declaration ( fixes #434 )
2015-11-19 09:26:34 -08:00
Guillermo Rauch
3e64c3fcb6
Merge pull request #383 from Nibbler999/binary-node-client
...
Enable supportsBinary when running as a node client
2015-11-18 18:56:36 -08:00
Naoyuki Kanezawa
b5613dc23c
Merge pull request #399 from FoghostCn/patch-1
...
fix rejectUnauthorized bug
2015-11-19 11:17:45 +09:00
Josh Kruder
38bde8c27e
Fix failing iphone and android connection tests.
2015-08-29 21:04:35 +03:00
Guillermo Rauch
e595a72d8e
Merge pull request #398 from Nibbler999/ws-write-packet-options
...
Fix websocket packet writing
2015-06-06 16:55:29 -07:00
Foghost
5ffe4478fb
fix rejectUnauthorized bug
...
fix bug even I set rejectUnauthorized=false it also throw err 'unable to verify the first certificate'
2015-06-02 17:53:43 +08:00
Guillermo Rauch
5138cfae3a
Merge pull request #396 from mjwwit/master
...
Switched xmlhttprequest dependency to a versioned one
2015-06-01 11:22:23 -04:00
Tom Atkinson
295f91a94f
Fix websocket packet writing
2015-05-31 00:47:59 +02:00
Michael de Wit
e700bd28f9
Switched to xmlhttprequest-ssl package, a fork of xmlhttprequest.
2015-05-29 13:24:03 +02:00
Guillermo Rauch
67ca376946
Merge branch 'master' of github.com:Automattic/engine.io-client
2015-05-27 12:59:43 -07:00
Guillermo Rauch
cabc130675
websocket: improve firing of drain in websocket transport
2015-05-27 12:59:20 -07:00
Guillermo Rauch
6ac9ac438a
socket: clean up buffers right after close event, not on a different tick
2015-05-27 12:58:48 -07:00
Guillermo Rauch
54680e6bcc
change the semantics of the write callback for polling transports. fire upon flush, not drain
2015-05-27 12:57:03 -07:00
Luigi Pinca
f9d1becfba
socket: fix host parsing for IPv6 URLs
2015-05-02 15:17:13 +02:00
Jeremie Miller
8874e795c2
the 'ok' string isn't very useful, but since this is text and we forced xhr to return an arraybuffer earlier, make it text again
2015-04-12 09:37:42 -06:00
Guillermo Rauch
4f87aae6ee
socket: handle parser errors appropriately
2015-04-08 08:32:02 -07:00
Guillermo Rauch
40de4b1cc4
style
2015-04-08 08:29:22 -07:00
Guillermo Rauch
d31a3931ae
Merge pull request #379 from adrai/master
...
introduce extraHeaders (cookies)
2015-04-06 14:17:57 -07:00
Guillermo Rauch
87ee832756
Merge pull request #375 from nkzawa/patch-9
...
Fix error when passing WebSocket#send the second argument on Safari
2015-04-05 17:26:44 -07:00
Guillermo Rauch
fb7c1984e8
expose ping and pong events
2015-04-05 15:46:30 -07:00
Tom Atkinson
dc0482a839
Enable supportsBinary when running as a node client
2015-04-01 15:08:47 +02:00
Adriano Raiano
ed697edae6
do not special case cookies, introduce extraHeaders
2015-03-23 21:50:10 +01:00
Adriano Raiano
73970be23e
introduce cookies
2015-03-13 16:17:12 +01:00
Naoyuki Kanezawa
86c74520cd
fix error when passing WebSocket#send second argument on Safari
2015-02-19 03:35:07 +09:00
Naoyuki Kanezawa
f0096f6cbd
Merge branch 'master' into compression
...
Conflicts:
package.json
2015-01-22 03:56:03 +09:00
Roman Shtylman
92e08eee01
fix reference to this (typo from self commit)
2015-01-11 16:59:55 -08:00
Guillermo Rauch
e3fe9a2f44
Merge pull request #366 from Automattic/fix-default-port
...
fix default port detection when host is specified
2015-01-11 16:33:12 -08:00
Roman Shtylman
bfc48ec4ad
fix default port detection when host is specified
...
This fixes an issue when a full url is specified (i.e.
http://service.com ) the port would be the port from the page and not the
uri string. This is easily exposed if using external engine.io servers
on a page served up by localhost:3000 or similar from a development
page.
2015-01-11 16:32:35 -08:00
Guillermo Rauch
d0e8643d05
Revert "migrate this usage to self to help with client side minification"
...
This reverts commit d725d91db2 .
2015-01-11 15:59:43 -08:00
Roman Shtylman
d725d91db2
migrate this usage to self to help with client side minification
...
`this` cannot be effectively minified but using a local self allows for
local minifcation.
2015-01-11 15:51:35 -08:00
Naoyuki Kanezawa
f6bf9f807f
support permessage-deflate
2015-01-06 03:20:08 +09:00
Guillermo Rauch
e352dbf834
Merge pull request #356 from rase-/add/ssl-options
...
Add ssl options
2014-12-04 13:40:33 -03:00
Guillermo Rauch
61648de3a2
Merge pull request #319 from samcday/no-abort-on-success
...
Only call xhr.abort() on error cases in polling-xhr.js
2014-12-02 18:21:35 -03:00
Tony Kovanen
ae2cfc59f3
Too much whitespace.
2014-11-24 04:57:51 -03:00
Tony Kovanen
f2a0d3b528
Add rest of the ssl related options found in https.request.
2014-11-24 04:57:51 -03:00
Tony Kovanen
66617e589f
Add options for SSL in ws and xhr.
2014-11-24 04:57:51 -03:00
Guillermo Rauch
f65d5d8ef0
Merge pull request #354 from divdavem/addEventListenersOldBrowsers
...
addEventListener requires 3 parameters in old browsers
2014-11-15 15:08:46 +09:00
Tony Kovanen
1642bf1214
Merge pull request #341 from yujiosaka/master
...
IE10 should prefer using XHR2 over XDR because it's safer
2014-10-20 02:55:15 +03:00
Naoyuki Kanezawa
002e23cdc4
remove invalid value for strict mode ( #344 )
2014-10-11 02:57:50 +09:00
ddivernois
22b2fc78f6
Fixed calls to addEventListener which requires 3 parameters in old browsers
2014-10-08 14:06:33 +02:00
Tony Kovanen
b462865bcb
Fixed transport close deferring logic.
...
Transport can still be upgrading after deferring until the drain event.
2014-10-05 03:01:50 +03:00
Naoyuki Kanezawa
866a56ed20
wait for buffer to be drained before closing
2014-10-04 21:57:35 +09:00
aaronk6
d9f4317bae
Fixed "jsonp polling iframe removal error" on connection close when using polling (JSONP) transport
2014-09-30 12:29:52 +02:00
Guillermo Rauch
0097a5e255
Merge pull request #324 from nkzawa/patch-5
...
Defer close while upgrading a transport
2014-09-25 15:32:33 -07:00
Michał Hernas
f63735b35c
Fixed problem when XHR would send in header "application/octet-stream;
...
charset=utf-8", then Request.data would be "ok" instead of proper data
2014-09-11 17:41:30 +03:00
yujiosaka
850072e3f1
IE10 should prefer using XHR2 over XDR because it's safer
2014-09-04 17:38:39 +09:00
yujiosaka
9e17a422cb
check enablesXDR option when Request.hasXDR is called just in case
2014-08-20 07:51:01 +09:00
yujiosaka
b1e1755a7d
disabled XDomainRequest as default and added enablesXDR option to enable it
2014-08-18 07:50:36 +09:00