sarutak opened a new pull request, #2895:
URL: https://github.com/apache/incubator-opendal/pull/2895
Closes: #2894
This PR fixes an issue that `HttpClient` is not set default connection
timeout and request timeout.
I think 60 secs is enough value for timeout.
If we meet timeout, we will get an error message like as follows.
```
Error: Unexpected (temporary) at stat, context: { url:
https://s3.amazonaws2.com/test/path/to/dir/foo/bar, called:
http_util::Client::send_async, service: s3, path: foo/bar } => send async
request, source: error sending request for url
(https://s3.amazonaws2.com/test/path/to/dir/foo/bar): operation timed out
Caused by:
0: error sending request for url
(https://s3.amazonaws2.com/test/path/to/dir/foo/bar): operation timed out
1: operation timed out
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]