Commit graph

15 commits

Author SHA1 Message Date
Leo Balduf
8e13f8fbe3 udp: have the IV-generating goroutine in the waitgroup 2015-10-30 20:29:38 +01:00
Jimmy Zelinskie
39b1990798 add waitgroup to udp server 2015-10-29 15:14:35 -04:00
Leo Balduf
bd546f6eba udp: replace boolean-synchronization with channels 2015-10-28 21:09:52 +01:00
Jimmy Zelinskie
1764fa4a2d add api to config & propogate config changes 2015-10-11 19:23:30 -04:00
Jimmy Zelinskie
6b53ceb2a3 udp: fix nil ptr when socket fails to be created 2015-07-08 20:21:35 -04:00
Jimmy Zelinskie
0741df3575 logging: add error to udp logs
This also makes the format of UDP and HTTP logs a little more similar.
2015-06-26 21:07:29 -04:00
Justin Li
14a6278de0 udp: Use net.IP inputs for connection ID generation
Add enum for action IDs

Remove unnecessary length check
2015-02-23 21:30:45 -05:00
Justin Li
3d28f281fb udp: Add constructor for ConnectionIDGenerator, return buffer to pool on socket timeout 2015-02-22 16:58:43 -05:00
Justin Li
7512f50731 udp: Add basic UDP tests 2015-02-21 14:35:21 -05:00
Justin Li
105edf21f1 udp: Add channel to communicate when socket has opened, set read timeout to 0 on Stop() 2015-02-21 14:02:00 -05:00
Justin Li
669128c83a tracker: Pass listen address into tracker.Server.Serve() 2015-02-21 13:16:21 -05:00
Justin Li
4c3cd6cc0a udp: Rotate connection ID generation IVs every hour 2015-02-20 15:38:27 -05:00
Justin Li
afb22c3df6 udp: Add basic logging and more comments 2015-02-20 14:08:46 -05:00
Justin Li
92f3c62456 tracker: Add common interface to start and stop servers 2015-02-20 13:39:19 -05:00
Justin Li
c2770ee741 udp: Implement initial connection protocol 2015-02-20 01:12:47 -05:00