mirror of
https://github.com/gofiber/fiber.git
synced 2025-02-14 13:46:23 +00:00
Update application.go
This commit is contained in:
parent
b4d9ba33ac
commit
b52d702616
@ -411,7 +411,7 @@ func (app *App) Test(request *http.Request, msTimeout ...int) (*http.Response, e
|
||||
}
|
||||
case <-time.After(time.Duration(timeout) * time.Millisecond):
|
||||
return nil, fmt.Errorf("Timeout error")
|
||||
|
||||
}
|
||||
// Read response
|
||||
buffer := bufio.NewReader(&conn.w)
|
||||
// Convert raw http response to *http.Response
|
||||
|
Loading…
x
Reference in New Issue
Block a user