Commit Graph

6 Commits

Author SHA1 Message Date
Matthew Holt
f7cfe79905 websocket: Simple buildEnv test, and fix for addresses without port 2015-11-15 11:05:26 -07:00
Austin
34c369155c trim possible line terminators from message 2015-11-03 13:37:32 -08:00
Austin
abc7c6a148 fixed data races in websockets 2015-11-02 14:19:38 -08:00
Marcelo E. Magallon
d4a14af14d Simplify websocket ticker shutdown code
"A receive from a closed channel returns the zero value immediately"

Close the tickerChan in the calling function, this causes "case <-c" to
unblock immediately, ending the goroutine and stopping the ticker.
2015-10-14 18:48:43 -06:00
Austin
24893bf740 removed panics, cleaned up leaking ticker routine 2015-10-13 19:07:54 -07:00
Austin
222781abca websocket refactored to use gorilla 2015-10-12 19:59:11 -07:00