func RecordConnState(new_state http.ConnState) {
	switch new_state {
	case http.StateNew:
		conns_wg.Add(1)
	case http.StateClosed, http.StateHijacked:
		conns_wg.Done()
	}
	return
}
// RecordConnState keeps track of the current connection count via a waitgroup.
RecordConnState keeps track of the current connection count via a waitgroup.
// RecordConnState keeps track of the current connection count via a waitgroup .
func RecordConnState(new_state http.ConnState) {
	switch new_state {
	case http.StateNew:
		conns_wg.Add(1)
	case http.StateClosed, http.StateHijacked:
		conns_wg.Done()
	}
	return
}
func RecordConnState ( new_state http . ConnState ) { switch new_state { case http . StateNew : conns_wg . Add ( 1 ) case http . StateClosed , http . StateHijacked : conns_wg . Done ( ) } return }
RecordConnState keeps track of the current connection count via a waitgroup.
RecordConnState keeps track of the current connection count via a waitgroup .