Commit graph

116 commits

Author SHA1 Message Date
Serene Han
4e6bba559a provide IceServerList flag as variadic arg to webrtc Configuration (#24) 2016-03-04 13:21:56 -08:00
Serene Han
3ec771df01 prepare IceServerList client flag (#24) 2016-03-03 22:51:10 -08:00
Serene Han
d2e61e315c confirmation dialog on proxy close (close #23) 2016-03-02 05:45:27 -08:00
Serene Han
8a8273e972 use const LogTimeInterval 2016-02-28 13:16:12 -08:00
Serene Han
5aae41c901 rendezvous / BrokerChannel tests for client 2016-02-27 14:45:53 -08:00
Serene Han
5edac195f6 move endWebRTC() mostly into webRTCConn.Close() 2016-02-26 14:35:20 -08:00
Serene Han
f3e0abe0e1 only flush datachannel with nonzero bytes, which prevents Tor from marking the SOCKS for close (#12) 2016-02-25 01:24:06 -08:00
Serene Han
38999e02de update README and include TOC 2016-02-24 07:47:17 -08:00
Serene Han
d4efe774d1 remove webRTCConn SendLoop and simplify Write without additional channel, as net.Conn is already safe 2016-02-23 17:34:51 -08:00
Serene Han
3a7e0ea620 simplify client handler & dialWebRTC with independent webRTCConn constructor 2016-02-23 17:01:44 -08:00
Serene Han
f86f5b5b07 move webRTCConn into separate file 2016-02-21 22:03:19 -08:00
Serene Han
ef5cb162c0 fix SendData channel syncing 2016-02-21 22:00:51 -08:00
Serene Han
26f5caf404 add ReceiveAnswer test to client 2016-02-20 16:11:45 -08:00
Serene Han
c3ada1b545 Use a channel to safely synchronize datachannel writes, (#12)
clean up ice candidate log message.
still need to debug the copy loop break.
2016-02-19 16:25:08 -08:00
Serene Han
c4215b5614 log traffic bytes only once every few seconds, along with OnMessage & datachannel.Send counts, to prevent flooded logs 2016-02-18 14:15:22 -08:00
Serene Han
a1b7e01c54 Include answer channel as part of the webRTCConn struct (#12) 2016-02-17 20:41:33 -08:00
Serene Han
e35687b587 Disconnections from websocket side also resets browser proxy 2016-02-17 19:55:43 -08:00
Serene Han
8a2e7a6041 Use reconnect timeout on client (#12) 2016-02-17 19:53:11 -08:00
Serene Han
f205a0be59 Snowflake client now using a reconnect loop (#12) 2016-02-17 19:19:16 -08:00
Serene Han
eb7eb04ac0 Buffer writes to DataChannel, remove blocking on openChannel (#12) 2016-02-17 18:38:52 -08:00
Serene Han
760dee8a0f prepare snowflake client for buffered datachannel writes, separate out dialWebRTC (#12) 2016-02-17 17:42:00 -08:00
Serene Han
661286894a another goconvey test for RequestOffer, fix data race in the Broker test 2016-02-17 12:52:51 -08:00
Serene Han
2ae6559001 move CORS early return into the ServeHTTP wrapper, rename handlers 2016-02-16 21:44:49 -08:00
Serene Han
791f6925ec Simplify proxy poll handler, and broker match test 2016-02-16 21:11:32 -08:00
Arlo Breault
9fd471b4c4 Update to go-webrtc HEAD 2016-02-15 12:37:52 -08:00
Serene Han
254223be0f End-to-end Goconvey test for Broker passing SDP messages between concurrent client and proxy
request handlers
2016-02-15 12:23:40 -08:00
Serene Han
ee5f4558af Second async test for Broker's proxy answer handler 2016-02-15 11:31:57 -08:00
Serene Han
032ab6bcb8 Async test for Broker's proxy handler 2016-02-14 16:19:20 -08:00
Serene Han
e13b35faf3 Update travis to have goconvey 2016-02-13 11:56:27 -08:00
Serene Han
0e1c5a1756 Convert Broker SnowflakeHeap test to goconvey, and async test for client handler 2016-02-13 11:51:37 -08:00
Serene Han
b04d1f67fb Add context to HTTP handlers, attempt to support localhost Broker.
Seems unlikely to work due to dev_appserver single inflight request limitation
2016-02-12 18:00:36 -08:00
Serene Han
4acff9983c Begin the Broker sub-README page 2016-02-11 21:39:24 -08:00
Serene Han
6fb2e4753f Update Snowflake embed, and add info page about it (close #16) 2016-02-10 14:03:13 -08:00
Serene Han
4f18340c16 Complete broker spec cases 2016-02-10 13:05:21 -08:00
Serene Han
bb9eb721e2 Fix jasmine spec for broker async request 2016-02-09 22:36:36 -08:00
Serene Han
548c100160 Begin spec for proxy-side broker interaction 2016-02-08 19:27:28 -08:00
Serene Han
547cb9690a more jasmine specs for proxypair, ui, and snowflake coffee files 2016-02-07 08:35:01 -08:00
Serene Han
e0081ea954 Fix ui.coffee debug mode message log 2016-02-06 17:28:23 -08:00
Serene Han
889b3fee98 better ProxyPair jasmine specs, ensure travis using more recent npm 2016-02-05 12:06:37 -08:00
Serene Han
e38bed8be3 convert all coffeescript tests to jasmine 2016-02-04 14:57:12 -08:00
Serene Han
10d24accad fix travis test and remove unused badge member 2016-02-03 21:51:28 -08:00
Serene Han
21c38a04ce Snowflake badge works, and animates when serving client (issue #16) and some logging cleanups 2016-02-03 21:37:21 -08:00
Serene Han
caba2cc8f8 Move all DOM related stuff into ui.coffee 2016-02-03 20:59:13 -08:00
Serene Han
7677707249 Begin embeddable snowflake badge (issue #16) 2016-02-03 20:28:31 -08:00
Serene Han
a915758275 add Dependencies section / updates to README 2016-02-01 14:14:52 -08:00
Serene Han
678cf454cd s/MeekChannel/BrokerChannel (close #14) and more informative TODOs 2016-01-31 21:51:21 -08:00
Serene Han
1cdf6a435c CORS preflight func, and consts 2016-01-29 09:09:37 -08:00
Serene Han
a6f6284229 Separate broker HTTP and snowflake heap go files 2016-01-29 08:56:36 -08:00
Serene Han
30bfeb247e Status bar for the snowflake console, instead of cluttered log messages during
polling
2016-01-28 15:21:30 -08:00
Arlo Breault
cb505b6202 Enforce cake linting in CI 2016-01-27 22:10:02 -08:00