Permalink
Browse files

socket.io is giving me a lot of problems, between not being easy to l…

…oad into a project using git, and also now perventing its node_module dir from being inculeded
  • Loading branch information...
1 parent 2eeab0f commit 35eb8191fc8e0ad591739a41790b1c0d6b4b45d1 @matthewfl committed Aug 6, 2011
Showing with 41,591 additions and 0 deletions.
  1. +19 −0 lib/socket.io/node_modules/policyfile/LICENSE
  2. +7 −0 lib/socket.io/node_modules/policyfile/Makefile
  3. +98 −0 lib/socket.io/node_modules/policyfile/README.md
  4. +375 −0 lib/socket.io/node_modules/policyfile/doc/index.html
  5. +8 −0 lib/socket.io/node_modules/policyfile/examples/basic.fallback.js
  6. +5 −0 lib/socket.io/node_modules/policyfile/examples/basic.js
  7. +1 −0 lib/socket.io/node_modules/policyfile/index.js
  8. +261 −0 lib/socket.io/node_modules/policyfile/lib/server.js
  9. +32 −0 lib/socket.io/node_modules/policyfile/package.json
  10. +21 −0 lib/socket.io/node_modules/policyfile/tests/ssl/ssl.crt
  11. +27 −0 lib/socket.io/node_modules/policyfile/tests/ssl/ssl.private.key
  12. +231 −0 lib/socket.io/node_modules/policyfile/tests/unit.test.js
  13. +569 −0 lib/socket.io/node_modules/redis/README.md
  14. +134 −0 lib/socket.io/node_modules/redis/changelog.md
  15. +5 −0 lib/socket.io/node_modules/redis/examples/auth.js
  16. +24 −0 lib/socket.io/node_modules/redis/examples/extend.js
  17. +32 −0 lib/socket.io/node_modules/redis/examples/file.js
  18. +5 −0 lib/socket.io/node_modules/redis/examples/mget.js
  19. +10 −0 lib/socket.io/node_modules/redis/examples/monitor.js
  20. +46 −0 lib/socket.io/node_modules/redis/examples/multi.js
  21. +29 −0 lib/socket.io/node_modules/redis/examples/multi2.js
  22. +33 −0 lib/socket.io/node_modules/redis/examples/psubscribe.js
  23. +41 −0 lib/socket.io/node_modules/redis/examples/pub_sub.js
  24. +17 −0 lib/socket.io/node_modules/redis/examples/simple.js
  25. +15 −0 lib/socket.io/node_modules/redis/examples/subqueries.js
  26. +19 −0 lib/socket.io/node_modules/redis/examples/subquery.js
  27. +29 −0 lib/socket.io/node_modules/redis/examples/unix_socket.js
  28. +31 −0 lib/socket.io/node_modules/redis/examples/web_server.js
  29. +770 −0 lib/socket.io/node_modules/redis/index.js
  30. +41 −0 lib/socket.io/node_modules/redis/lib/parser/hiredis.js
  31. +302 −0 lib/socket.io/node_modules/redis/lib/parser/javascript.js
  32. +54 −0 lib/socket.io/node_modules/redis/lib/queue.js
  33. +13 −0 lib/socket.io/node_modules/redis/lib/to_array.js
  34. +6 −0 lib/socket.io/node_modules/redis/lib/util.js
  35. +131 −0 lib/socket.io/node_modules/redis/multi_bench.js
  36. +25 −0 lib/socket.io/node_modules/redis/package.json
  37. +1,125 −0 lib/socket.io/node_modules/redis/test.js
  38. +58 −0 lib/socket.io/node_modules/redis/tests/buffer_bench.js
  39. +27 −0 lib/socket.io/node_modules/redis/tests/reconnect_test.js
  40. +18 −0 lib/socket.io/node_modules/redis/tests/sub_quit_test.js
  41. +17 −0 lib/socket.io/node_modules/redis/tests/test_start_stop.js
  42. +26 −0 lib/socket.io/node_modules/socket.io-client/History.md
  43. +22 −0 lib/socket.io/node_modules/socket.io-client/Makefile
  44. +246 −0 lib/socket.io/node_modules/socket.io-client/README.md
  45. +59 −0 lib/socket.io/node_modules/socket.io-client/bin/build
  46. +245 −0 lib/socket.io/node_modules/socket.io-client/bin/builder.js
  47. BIN lib/socket.io/node_modules/socket.io-client/dist/WebSocketMain.swf
  48. BIN lib/socket.io/node_modules/socket.io-client/dist/WebSocketMainInsecure.swf
  49. +3,535 −0 lib/socket.io/node_modules/socket.io-client/dist/socket.io.js
  50. +2 −0 lib/socket.io/node_modules/socket.io-client/dist/socket.io.min.js
  51. +184 −0 lib/socket.io/node_modules/socket.io-client/lib/events.js
  52. +182 −0 lib/socket.io/node_modules/socket.io-client/lib/io.js
  53. +322 −0 lib/socket.io/node_modules/socket.io-client/lib/json.js
  54. +231 −0 lib/socket.io/node_modules/socket.io-client/lib/namespace.js
  55. +261 −0 lib/socket.io/node_modules/socket.io-client/lib/parser.js
  56. +1 −0 lib/socket.io/node_modules/socket.io-client/lib/socket.io-client.js
  57. +501 −0 lib/socket.io/node_modules/socket.io-client/lib/socket.js
  58. +222 −0 lib/socket.io/node_modules/socket.io-client/lib/transport.js
  59. +164 −0 lib/socket.io/node_modules/socket.io-client/lib/transports/flashsocket.js
  60. +171 −0 lib/socket.io/node_modules/socket.io-client/lib/transports/htmlfile.js
  61. +206 −0 lib/socket.io/node_modules/socket.io-client/lib/transports/jsonp-polling.js
  62. +168 −0 lib/socket.io/node_modules/socket.io-client/lib/transports/websocket.js
  63. +132 −0 lib/socket.io/node_modules/socket.io-client/lib/transports/xhr-polling.js
  64. +210 −0 lib/socket.io/node_modules/socket.io-client/lib/transports/xhr.js
  65. +311 −0 lib/socket.io/node_modules/socket.io-client/lib/util.js
  66. +782 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/README.html
  67. +408 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/README.org
  68. +212 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/bin/uglifyjs
  69. +75 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/docstyle.css
  70. +2 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/index.js
  71. +1,320 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/lib/parse-js.js
  72. +1,609 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/lib/process.js
  73. +22 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/lib/squeeze-more.js
  74. +6 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/package.json
  75. +28 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/beautify.js
  76. +402 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/testparser.js
  77. +1 −0 ...socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/array1.js
  78. +1 −0 ...socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/array2.js
  79. +1 −0 ...socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/array3.js
  80. +1 −0 ...socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/array4.js
  81. +1 −0 ...et.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/assignment.js
  82. +1 −0 ....io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/concatstring.js
  83. +1 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/const.js
  84. +1 −0 ....io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/empty-blocks.js
  85. +1 −0 ....io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/forstatement.js
  86. +1 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/if.js
  87. +1 −0 ...cket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/ifreturn.js
  88. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue10.js
  89. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue11.js
  90. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue13.js
  91. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue14.js
  92. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue16.js
  93. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue17.js
  94. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue20.js
  95. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue21.js
  96. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue25.js
  97. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue27.js
  98. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue28.js
  99. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue29.js
  100. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue30.js
  101. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue34.js
  102. +1 −0 ...socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue4.js
  103. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue48.js
  104. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue50.js
  105. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue53.js
  106. +1 −0 ...ket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue54.1.js
  107. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue68.js
  108. +1 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue69.js
  109. +1 −0 ...socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/issue9.js
  110. +1 −0 ...io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/strict-equals.js
  111. +1 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/expected/var.js
  112. +3 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/array1.js
  113. +4 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/array2.js
  114. +4 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/array3.js
  115. +6 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/array4.js
  116. +20 −0 ...socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/assignment.js
  117. +3 −0 ...cket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/concatstring.js
  118. +5 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/const.js
  119. +4 −0 ...cket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/empty-blocks.js
  120. +10 −0 ...cket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/forstatement.js
  121. +6 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/if.js
  122. +9 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/ifreturn.js
  123. +1 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue10.js
  124. +3 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue11.js
  125. +1 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue13.js
  126. +1 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue14.js
  127. +1 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue16.js
  128. +4 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue17.js
  129. +1 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue20.js
  130. +6 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue21.js
  131. +7 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue25.js
  132. +1 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue27.js
  133. +3 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue28.js
  134. +1 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue29.js
  135. +3 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue30.js
  136. +3 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue34.js
  137. +3 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue4.js
  138. +1 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue48.js
  139. +9 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue50.js
  140. +1 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue53.js
  141. +3 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue54.1.js
  142. +5 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue68.js
  143. +1 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue69.js
  144. +4 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/issue9.js
  145. +3 −0 ...ket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/strict-equals.js
  146. +3 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/compress/test/var.js
  147. +46 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/uglifyjs/test/unit/scripts.js
  148. +157 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/README.md
  149. BIN lib/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/WebSocketMain.swf
  150. BIN lib/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/WebSocketMainInsecure.zip
  151. +8 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/IWebSocketLogger.as
  152. +464 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocket.as
  153. +33 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketEvent.as
  154. +150 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketMain.as
  155. +19 −0 ...cket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketMainInsecure.as
  156. +10 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/build.sh
  157. +204 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/adobe/net/proxies/RFC2817Socket.as
  158. +375 −0 ...t.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/gsolo/encryption/MD5.as
  159. +287 −0 ....io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/Crypto.as
  160. +3,235 −0 ...t.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/MozillaRootCertificates.as
  161. +218 −0 ...es/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/X509Certificate.as
  162. +57 −0 ...io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/X509CertificateCollection.as
  163. +82 −0 .../node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/HMAC.as
  164. +27 −0 ...node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHMAC.as
  165. +21 −0 ...node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHash.as
  166. +137 −0 ...o/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MAC.as
  167. +124 −0 ...o/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MD2.as
  168. +204 −0 ...o/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MD5.as
  169. +106 −0 .../node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA1.as
  170. +28 −0 ...ode_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA224.as
  171. +115 −0 ...ode_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA256.as
  172. +71 −0 ...de_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHABase.as
  173. +90 −0 .../node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/ARC4.as
  174. +20 −0 ...node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/IPRNG.as
  175. +119 −0 ...ode_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/Random.as
  176. +142 −0 ...ode_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/TLSPRF.as
  177. +339 −0 ...node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/rsa/RSAKey.as
  178. +2,797 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/AESKey.as
  179. +375 −0 ...s/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/BlowFishKey.as
  180. +55 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CBCMode.as
  181. +61 −0 ...ules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CFB8Mode.as
  182. +64 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CFBMode.as
  183. +58 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CTRMode.as
  184. +365 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/DESKey.as
  185. +86 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ECBMode.as
  186. +21 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ICipher.as
  187. +15 −0 ...modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IMode.as
  188. +32 −0 ..._modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IPad.as
  189. +21 −0 ...socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IStreamCipher.as
  190. +35 −0 ...socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ISymmetricKey.as
  191. +110 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IVMode.as
  192. +34 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/NullPad.as
  193. +52 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/OFBMode.as
  194. +44 −0 ...modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/PKCS5.as
  195. +44 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/SSLPad.as
  196. +60 −0 .../socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/SimpleIVMode.as
  197. +42 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/TLSPad.as
  198. +88 −0 .../socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/TripleDESKey.as
  199. +94 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/XTeaKey.as
  200. +29 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/aeskey.pl
  201. +2,304 −0 ...modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/dump.txt
  202. +1,220 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/AESKeyTest.as
  203. +58 −0 ..._modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ARC4Test.as
  204. +39 −0 ...es/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/BigIntegerTest.as
  205. +148 −0 ...s/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/BlowFishKeyTest.as
  206. +160 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CBCModeTest.as
  207. +71 −0 ...ules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CFB8ModeTest.as
  208. +98 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CFBModeTest.as
  209. +109 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CTRModeTest.as
  210. +112 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/DESKeyTest.as
  211. +151 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ECBModeTest.as
  212. +184 −0 ..._modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/HMACTest.as
  213. +20 −0 ...ules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ITestHarness.as
  214. +56 −0 ...e_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/MD2Test.as
  215. +58 −0 ...e_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/MD5Test.as
  216. +101 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/OFBModeTest.as
  217. +92 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/RSAKeyTest.as
  218. +198 −0 ..._modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA1Test.as
  219. +58 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA224Test.as
  220. +60 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA256Test.as
  221. +51 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TLSPRFTest.as
  222. +42 −0 ..._modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TestCase.as
  223. +59 −0 .../socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TripleDESKeyTest.as
  224. +66 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/XTeaKeyTest.as
  225. +102 −0 ...modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/BulkCiphers.as
  226. +117 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/CipherSuites.as
  227. +14 −0 ...es/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/IConnectionState.as
  228. +29 −0 ...socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/ISecurityParameters.as
  229. +24 −0 ...odules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/KeyExchanges.as
  230. +38 −0 ...o/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/MACs.as
  231. +171 −0 .../socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLConnectionState.as
  232. +26 −0 ...de_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLEvent.as
  233. +340 −0 ...cket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLSecurityParameters.as
  234. +70 −0 ...e_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSConfig.as
  235. +151 −0 .../socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSConnectionState.as
  236. +895 −0 ...e_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEngine.as
  237. +39 −0 ...de_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSError.as
  238. +27 −0 ...de_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEvent.as
  239. +197 −0 ...cket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSecurityParameters.as
  240. +370 −0 ...e_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocket.as
  241. +26 −0 ...ules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocketEvent.as
  242. +180 −0 ...ode_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSTest.as
  243. +90 −0 ..._modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/BarrettReduction.as
  244. +1,543 −0 ...o/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/BigInteger.as
  245. +35 −0 ..._modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/ClassicReduction.as
  246. +11 −0 ...o/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/IReduction.as
  247. +85 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/MontgomeryReduction.as
  248. +34 −0 ...ode_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/NullReduction.as
  249. +11 −0 .../node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/bi_internal.as
  250. +25 −0 ...io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/ArrayUtil.as
  251. +189 −0 ...et.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Base64.as
  252. +66 −0 ...ocket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Hex.as
  253. +28 −0 ...et.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Memory.as
  254. +43 −0 ...de_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/ByteString.as
  255. +210 −0 ...t.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/DER.as
  256. +21 −0 ...ode_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/IAsn1Type.as
  257. +44 −0 .../node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Integer.as
  258. +35 −0 ...t.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/OID.as
  259. +112 −0 ...ules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/ObjectIdentifier.as
  260. +118 −0 ...t.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/PEM.as
  261. +49 −0 ...dules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/PrintableString.as
  262. +90 −0 ...node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Sequence.as
  263. +27 −0 ...t.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Set.as
  264. +94 −0 ....io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Type.as
  265. +60 −0 .../node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/UTCTime.as
  266. +75 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/sample.html
  267. +4 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/swfobject.js
  268. +349 −0 lib/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/web_socket.js
  269. +29 −0 lib/socket.io/node_modules/socket.io-client/package.json
  270. +121 −0 lib/socket.io/node_modules/socket.io-client/test/events.test.js
  271. +31 −0 lib/socket.io/node_modules/socket.io-client/test/io.test.js
  272. +102 −0 lib/socket.io/node_modules/socket.io-client/test/node/builder.common.js
  273. +123 −0 lib/socket.io/node_modules/socket.io-client/test/node/builder.test.js
  274. +352 −0 lib/socket.io/node_modules/socket.io-client/test/parser.test.js
  275. +286 −0 lib/socket.io/node_modules/socket.io-client/test/socket.test.js
  276. +142 −0 lib/socket.io/node_modules/socket.io-client/test/util.test.js
@@ -0,0 +1,19 @@
+Copyright (c) 2011 Arnout Kazemier,3rd-Eden
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
@@ -0,0 +1,7 @@
+doc:
+ dox --title "FlashPolicyFileServer" lib/* > doc/index.html
+
+test:
+ expresso -I lib $(TESTFLAGS) tests/*.test.js
+
+.PHONY: test doc
@@ -0,0 +1,98 @@
+## LOL, WUT?
+It basically allows you to allow or disallow Flash Player sockets from accessing your site.
+
+## Installation
+
+```bash
+npm install policyfile
+```
+## Usage
+
+The server is based on the regular and know `net` and `http` server patterns. So it you can just listen
+for all the events that a `net` based server emits etc. But there is one extra event, the `connect_failed`
+event. This event is triggered when we are unable to listen on the supplied port number.
+
+### createServer
+Creates a new server instance and accepts 2 optional arguments:
+
+- `options` **Object** Options to configure the server instance
+ - `log` **Boolean** Enable logging to STDOUT and STDERR (defaults to true)
+- `origins` **Array** An Array of origins that are allowed by the server (defaults to *:*)
+
+```js
+var pf = require('policyfile');
+pf.createServer();
+pf.listen();
+```
+
+#### server.listen
+Start listening on the server and it takes 3 optional arguments
+
+- `port` **Number** On which port number should we listen? (defaults to 843, which is the first port number the FlashPlayer checks)
+- `server` **Server** A http server, if we are unable to accept requests or run the server we can also answer the policy requests inline over the supplied HTTP server.
+- `callback` **Function** A callback function that is called when listening to the server was successful.
+
+```js
+var pf = require('policyfile');
+pf.createServer();
+pf.listen(1337, function(){
+ console.log(':3 yay')
+});
+```
+
+Changing port numbers can be handy if you do not want to run your server as root and have port 843 forward to a non root port number (aka a number above 1024).
+
+```js
+var pf = require('policyfile')
+ , http = require('http');
+
+server = http.createServer(function(q,r){r.writeHead(200);r.end('hello world')});
+server.listen(80);
+
+pf.createServer();
+pf.listen(1337, server, function(){
+ console.log(':3 yay')
+});
+```
+
+Support for serving inline requests over a existing HTTP connection as the FlashPlayer will first check port 843, but if it's unable to get a response there it will send a policy file request over port 80, which is usually your http server.
+
+#### server.add
+Adds more origins to the policy file you can add as many arguments as you like.
+
+```js
+var pf = require('policyfile');
+pf.createServer(['google.com:80']);
+pf.listen();
+pf.add('blog.3rd-Eden.com:80', 'blog.3rd-Eden.com:8080'); // now has 3 origins
+```
+
+#### server.add
+Adds more origins to the policy file you can add as many arguments as you like.
+
+```js
+var pf = require('policyfile');
+pf.createServer(['blog.3rd-Eden.com:80', 'blog.3rd-Eden.com:8080']);
+pf.listen();
+pf.remove('blog.3rd-Eden.com:8080'); // only contains the :80 version now
+```
+
+#### server.close
+Shuts down the server
+
+```js
+var pf = require('policyfile');
+pf.createServer();
+pf.listen();
+pf.close(); // OH NVM.
+```
+
+## API
+http://3rd-eden.com/FlashPolicyFileServer/
+
+## Examples
+See https://github.com/3rd-Eden/FlashPolicyFileServer/tree/master/examples for examples
+
+## Licence
+
+MIT see LICENSE file in the repository
Oops, something went wrong. Retry.

0 comments on commit 35eb819

Please sign in to comment.