cyfdecyf / cow

HTTP proxy written in Go. COW can automatically identify blocked sites and use parent proxies to access.
BSD 2-Clause "Simplified" License
8.45k stars 1.61k forks source link

cow-win64-0.8-debug2在win7x64下监听0.0.0.0报错 #85

Closed xiozf closed 11 years ago

xiozf commented 11 years ago

你好,cow-win64-0.8-debug2在win7x64下监听127.0.0.1正常,监听0.0.0.0提示错误,日志如下:

panic: internal error, host address invalid: 0.0.0.0

goroutine 1 [running]: main.hostAddr(0x0, 0x0, 0x0) /Users/alex/local/mygo/src/github.com/cyfdecyf/cow/util.go:494 +0x295 main.initSelfListenAddr() /Users/alex/local/mygo/src/github.com/cyfdecyf/cow/proxy.go:192 +0x36e main.main() /Users/alex/local/mygo/src/github.com/cyfdecyf/cow/main.go:48 +0x82

goroutine 3 [syscall]: os/signal.loop() /usr/local/go/src/pkg/os/signal/signal_unix.go:21 +0x1f created by os/signal.init路1 /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x32

cyfdecyf commented 11 years ago

最近出门在外,回去再看下。

cyfdecyf commented 11 years ago

commit 061554d should have fixed this.

下一个版本发布还得再等一段时间。