• Dmitriy Vyukov's avatar
    log/syslog: fix deadlock in test · 0806c972
    Dmitriy Vyukov authored
    The problem was that server handlers block on done<-,
    the goroutine that reads from done blocks on count<-,
    and the main goroutine that is supposed to read from count
    waits for server handlers to exit.
    Fixes #5547.
    
    R=golang-dev, dave, bradfitz
    CC=golang-dev
    https://golang.org/cl/9722043
    0806c972
syslog_test.go 7.49 KB