hashicorp/consul — pull request #499 by alouche (2014-11-26 10:12:08+00:00)
Title: Fix potential race condition on shutdown (pool.reap/server.handleConsulConn)

Minimal changes to avoid 2 race conditions which could easily occur since the methods are launched in separate goroutines.