increase timeout for httpbin request
Signed-off-by: James Strong <strong.james.e@gmail.com>
This commit is contained in:
parent
8a1eb32e2f
commit
5e941c4f9c
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ func smugglingRequest(host, addr string, port int) (string, error) {
|
|||
|
||||
defer conn.Close()
|
||||
|
||||
conn.SetDeadline(time.Now().Add(time.Second * 10))
|
||||
conn.SetDeadline(time.Now().Add(time.Second * 60))
|
||||
|
||||
_, err = fmt.Fprintf(conn, "GET /echo HTTP/1.1\r\nHost: %v\r\nContent-Length: 56\r\n\r\nGET /_hidden/index.html HTTP/1.1\r\nHost: notlocalhost\r\n\r\n", host)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue