)
var (
- aLongTimeAgo = time.Unix(1, 0)
+ ALongTimeAgo = time.Unix(1, 0)
UCSPIJob sync.WaitGroup
)
// An ugly hack to forcefully terminate pending read.
// net/http calls SetReadDeadline(aLongTimeAgo), but file
// descriptors are not capable to exit immediately that way.
- if t.Equal(aLongTimeAgo) {
+ if t.Equal(ALongTimeAgo) {
conn.eof <- struct{}{}
}
return os.Stdin.SetReadDeadline(t)