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