Mikito Takada
d80010dcf0
Firefox will try to parse the response from POST requests, causing a syntax error message in the Web Console. Basically an addition to https://github.com/LearnBoost/socket.io/pull/501
2012-03-27 16:43:17 -07:00
Mikito Takada
304a4285ff
Supplemental fix to gavinuhma/authfix, it looks like the same Access-Control-Origin logic is needed in the http and xhr-polling transports
2012-02-03 12:20:40 -08:00
Guillermo Rauch
cc2270bb90
Merge pull request #622 from mattrobenolt/master
...
Location mismatch in Safari behind proxy
2011-12-05 14:04:57 -08:00
Matt Robenolt
36fc7b07ea
Minor. Conform to style of other files.
2011-12-05 16:59:15 -05:00
Matt Robenolt
8eab3a87e7
Switching setting to 'match origin protocol'
2011-12-05 16:58:00 -05:00
Arnout Kazemier
a7f45fe6c0
prevent memory leaking on uncompleted requests & add max post size limitation
2011-11-23 22:28:38 +01:00
einaros
2b28c46400
added proper return after reserved field error
2011-11-14 17:50:57 +01:00
einaros
ffef944dd5
added implicit port 80 for origin checks. fixes #638
2011-11-14 09:45:44 +01:00
Matt Robenolt
6f2270add6
Adding configuration variable matchOriginProtocol
...
matchOriginProtocol is meant to be used when running socket.io behind a
proxy. matchOriginProtocol should be set to true when you want the
location handshake to match the protocol of the origin. This fixes
issues with terminating the SSL in front of Node and forcing location
to think it's wss instead of ws.
2011-11-03 15:34:24 -04:00
Matt Robenolt
220f8d5bf5
Fixes location mismatch error in Safari.
2011-11-03 01:35:18 -03:00
einaros
92a3cce272
circumvents #602 .. although only a horribly malformed websocket connection could potentially cause this
2011-10-28 14:04:55 +02:00
einaros
70c61fa84d
Merge remote branch 'upstream/master' into nodenext
2011-10-28 10:10:26 +02:00
Guillermo Rauch
5491c2798e
Merge branch 'master' of github.com:LearnBoost/socket.io
2011-10-27 12:54:03 +08:00
Guillermo Rauch
a9def6e209
Merge pull request #598 from 3rd-Eden/utf8
...
charset=UTF8
2011-10-26 21:53:46 -07:00
Guillermo Rauch
cf76b13145
Added JSON decoding on jsonp-polling transport.
...
This is due to browser's buggy handling of outgoing \n
2011-10-27 12:45:19 +08:00
Arnout Kazemier
db2a17f279
charset=UTF8
2011-10-26 11:48:41 +02:00
einaros
357a9cb870
fixed race condition and scoping bug
2011-10-25 21:25:44 +02:00
einaros
8253ed573a
ignore exception on port change
2011-10-25 19:47:39 +02:00
einaros
67495ad8a9
case-insensitive match for websocket upgrade, in all websocket transports
2011-10-22 10:21:10 +02:00
einaros
bee1efb11c
fixes #555
2011-10-22 10:16:48 +02:00
einaros
54fc513fc9
fixes #553 - (re)verify origin in websocket transport implementations
2011-10-02 16:34:09 +02:00
einaros
0b1e43cb87
added binary support to the hybi 07-12 parsers as well
2011-10-02 15:31:36 +02:00
einaros
c8dabb225c
added binary support to hybi-16 parser, refactored hybi tests somewhat
2011-10-02 15:19:17 +02:00
einaros
245dc12ade
added fixes from hybi-07-12 which also apply to 16
2011-10-02 00:09:21 +02:00
einaros
00f7ca1d02
fixed incorrect space chars
2011-10-01 14:45:20 +02:00
einaros
f1cea7e788
Merge branch 'master' of github.com:einaros/socket.io
2011-10-01 14:42:07 +02:00
einaros
050fcf7a83
websocket draft HyBi-16 support
2011-10-01 14:39:27 +02:00
einaros
2a81b25a5b
fixed websocket continuation bugs
2011-09-26 10:14:19 +02:00
einaros
f9ea04eb6b
redirect actual transport name (such as flashsocket), if present, to the websocket version being loaded
2011-09-20 18:53:04 +02:00
einaros
3c4a04ea02
fixes #523 . private 'payload' method in transport used from manager.js, wasn't present in hybi parser
2011-09-20 17:56:32 +02:00
Guillermo Rauch
e282ab0e63
Fixed transport message packet logging.
...
Fixed style.
2011-09-03 12:13:50 -07:00
einaros
ae7f25332a
switched \u**** to \x** for single byte writes, as the former doesn't really make any sense
2011-08-30 11:17:32 +02:00
einaros
63fc15d276
style changes
2011-08-30 11:03:50 +02:00
einaros
13647075f2
fixed utf8 bug in send framing
2011-08-29 09:43:12 +02:00
einaros
f377cd631e
fixed bug in send framing for over 64kB of data
2011-08-29 08:33:30 +02:00
einaros
e41aab84f8
corrected ping handling from websocket transport, and added warning output on parser error
2011-08-29 08:00:03 +02:00
einaros
0a6c78cbb8
joined compatible hybi protocol handlers and updated test reference
2011-08-29 07:56:40 +02:00
Guillermo Rauch
0769c40368
Renamed wsver/ -> websocket/
2011-08-28 15:41:55 -07:00
Guillermo Rauch
355203afdb
Changed protocols require path.
2011-08-28 15:41:13 -07:00
einaros
e5c86178f5
added initial hybi07 protocol parser
2011-08-28 10:44:07 +02:00
einaros
0e08d67e48
cleanups and comments
2011-08-27 23:43:16 +02:00
einaros
8efb1bc6e2
added test and support for really long messages, but capped by 32 bit
2011-08-27 19:21:01 +02:00
einaros
8bdf221935
minor cleanups
2011-08-27 18:42:17 +02:00
einaros
899fb7faa1
updated to work with two-level websocket versioning
2011-08-27 18:27:52 +02:00
einaros
34622b74ef
added hybi10 close operation
2011-08-27 17:54:13 +02:00
einaros
07b9c4696d
added hybi10 support
2011-08-27 17:41:49 +02:00
Guillermo Rauch
d8c7060cc8
Merge pull request #396 from 3rd-Eden/xxs
...
Potential fix for #372
2011-07-30 18:49:47 -07:00
Peter 'Pita' Martischka
f69f387e1d
Send response once we got all POST data, not immediately
2011-07-20 17:29:26 +01:00
Arnout Kazemier
f784c477f0
Potential fix for #372
2011-07-18 22:02:03 +02:00
Arnout Kazemier
2110bac72d
Having a stab at issue #295
2011-06-29 12:17:20 +02:00