commit | 982e0b8398ea26ce1f5323b9e928990ae8845473 | [log] [tgz] |
---|---|---|
author | Klaus Aehlig <aehlig@google.com> | Fri Apr 26 04:11:37 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 26 04:12:48 2019 -0700 |
tree | c7f54583522ce4aadfc6c322f2a8ecb732a68b97 | |
parent | 341fad3fab322e580e9d7a87a175972dc8de0c22 [diff] |
HttpConnector: do not report connection timeouts as user interrupts If a conenct() times out (because the server is not responsive), it throws a SocketTimeoutException which is an InterruptedIOException. The latter, however, are mapped by the HttpConnector to InterruptedExceptions indicating a user interruption of the download, which is generally correct, but not for this specific subclass. Fix this by handling this subclass separately and rethrowing it as ordinary IOException. Fixes #3851. Closes #6209. Change-Id: I0c3b46921a725f5a5a728a83dd75c7c83c6a46f4 PiperOrigin-RevId: 245398269
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.