mirror of
https://github.com/nadoo/glider.git
synced 2025-02-23 17:35:40 +08:00
strategy: write once in proxy check
This commit is contained in:
parent
98c90f33fd
commit
6909a4a372
@ -121,8 +121,7 @@ func (rr *rrDialer) checkDialer(idx int) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
c.Write([]byte("GET / HTTP/1.0"))
|
c.Write([]byte("GET / HTTP/1.0\r\n\r\n"))
|
||||||
c.Write([]byte("\r\n\r\n"))
|
|
||||||
|
|
||||||
_, err = io.ReadFull(c, buf)
|
_, err = io.ReadFull(c, buf)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user