Commit graph

19 commits

Author SHA1 Message Date
David Fifield
cfca47674e Build the websocket-server.
Patch server.go to refer to out-of-tree websocket library.
2016-03-26 15:24:56 -07:00
David Fifield
e53705519e Add a copy of websocket-server in the server directory.
From commit ea3ee6b5cf035a9465c02b4a2b38882c9c6a7050 in
https://git.torproject.org/pluggable-transports/websocket.git
2016-03-26 15:24:56 -07:00
David Fifield
c4cfc7f8ba Move server to server-webrtc.
To make room for the WebSocket server we're actually going to use as a
primary server. Move server-webrtc docs to server-webrtc/README.md.
2016-03-26 15:24:44 -07:00
Arlo Breault
9fd471b4c4 Update to go-webrtc HEAD 2016-02-15 12:37:52 -08:00
Arlo Breault
5c166f5015 s/facilitator/broker/ 2016-01-19 21:52:03 -08:00
Arlo Breault
dcb901e408 Use chan struct{} instead
* Similar to a77ae6b771.
2016-01-19 13:41:19 -08:00
David Fifield
5279e32e3e Remove the default -http option from server/torrc.
We'll ask people to insert it manually if they want to test that way.
2016-01-18 23:03:42 -08:00
David Fifield
ff7cc926f7 Add an HTTP signaling receiver in the server.
This is a stand-in for some kind of faciliator that is separate from the
server transport plugin.
2016-01-18 21:30:31 -08:00
David Fifield
ac8669b38f Refactor signal receiving in server.
There's one FIFO reader goroutine instead of one per bindaddr.
makePeerConnectionFromOffer gives you a PeerConnection with an answer
and also sets up callbacks to pass a webRTCConn to datachannelHandler
when ready.
2016-01-18 21:13:08 -08:00
David Fifield
48db4ac132 Log errors from main. 2016-01-17 23:22:23 -08:00
David Fifield
726ad2bfb9 Make logging in server match client (no payloads). 2016-01-16 09:37:27 -08:00
David Fifield
bf2a825fce Log write on the server side. 2016-01-09 19:24:57 -08:00
David Fifield
c519813cf7 Keep quoted log messages ASCII. 2016-01-09 19:24:05 -08:00
Arlo Breault
0711b3e1b9 Bootstrapped 100%: Done 2016-01-09 10:42:02 -08:00
Arlo Breault
10c9685a33 Unblock the data channel 2016-01-09 10:08:22 -08:00
Arlo Breault
860898b733 Log answer 2016-01-08 18:45:01 -08:00
Arlo Breault
5eb77569fe Try to use named pipe on the server to start as well 2016-01-08 15:12:08 -08:00
Arlo Breault
0d2261e7b6 Add a torrc for the server 2016-01-07 12:37:00 -08:00
Arlo Breault
da563bc913 Separate client / server 2016-01-07 09:26:02 -08:00