CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 05:28:55 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/googleapis/java-storage.git
etag: W/"bbcdd66a9bf9e0f89b684e73cf67d5be"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=TAH5qt548WtFl%2B9FcAKqGwoFDyzLtmxN8T2rynZxqIrTjzX7ieGI%2BIVxe0FX4kEO6%2FLoYxtTnZy5Us9VCsUBJj0KlZHdMWbC4gdz8BELA51hEq4Ic8ixvFBiBQKPqEyzSxldNt2QuP%2FEGoCwGVWFtINYy7gX9N8sgR6GGIZUJ7DOkAojwsio%2B%2BZ4i08BP%2Fd6HEaFH8pHgqtC0ajDdn0Gi9npd7ohScOCdigazz63f55JCinnEw3p1caR9p0EjEIOp3u5buiHcqJapEB8klu0Rw%3D%3D--qp38ChH5EDMQHVTl--XN6k122hshfPoN0qsWIHlw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.357470310.1753334934; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 05:28:54 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 05:28:54 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B622:394F4C:13C0B7B:17F5FB0:6881C496
fix: update implementation of readAllBytes and downloadTo to be more … · googleapis/java-storage@21821da · GitHub
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/BaseStorageWriteChannel.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageImpl.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/StorageImpl.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/test/java/com/google/cloud/storage/ITGrpcStorageImplUploadRetryTest.java
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit 21821da
authored
fix: update implementation of readAllBytes and downloadTo to be more robust to retryable errors (#2305)
Additional small changes to bring http and grpc implementation into conformance with each other.
Much of this also serves as pre-work to the grpc retry conformance tests enablement after the next release of testbench.1 parent 29f4ea6 commit 21821daCopy full SHA for 21821da
File tree
Expand file treeCollapse file tree
9 files changed
+112
-219
lines changedFilter options
- google-cloud-storage/src
- main/java/com/google/cloud/storage
- test/java/com/google/cloud/storage
- conformance/retry
Expand file treeCollapse file tree
9 files changed
+112
-219
lines changedgoogle-cloud-storage/src/main/java/com/google/cloud/storage/BaseStorageWriteChannel.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/BaseStorageWriteChannel.java+1-3Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
104 |
| - | |
105 |
| - | |
106 | 104 |
| |
107 | 105 |
| |
108 | 106 |
| |
109 |
| - | |
| 107 | + | |
110 | 108 |
| |
111 | 109 |
| |
112 | 110 |
| |
|
google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageImpl.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageImpl.java+35-5Lines changed: 35 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
250 | 250 |
| |
251 | 251 |
| |
252 | 252 |
| |
253 |
| - | |
254 |
| - | |
255 |
| - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
256 | 278 |
| |
257 | 279 |
| |
| 280 | + | |
258 | 281 |
| |
259 | 282 |
| |
260 | 283 |
| |
| |||
309 | 332 |
| |
310 | 333 |
| |
311 | 334 |
| |
312 |
| - | |
| 335 | + | |
313 | 336 |
| |
314 | 337 |
| |
315 | 338 |
| |
| |||
359 | 382 |
| |
360 | 383 |
| |
361 | 384 |
| |
362 |
| - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
363 | 393 |
| |
364 | 394 |
| |
365 | 395 |
| |
|
google-cloud-storage/src/main/java/com/google/cloud/storage/StorageImpl.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/StorageImpl.java+43-17Lines changed: 43 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
| |||
37 | 36 |
| |
38 | 37 |
| |
39 | 38 |
| |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| 46 | + | |
46 | 47 |
| |
47 | 48 |
| |
48 | 49 |
| |
| |||
59 | 60 |
| |
60 | 61 |
| |
61 | 62 |
| |
62 |
| - | |
| 63 | + | |
63 | 64 |
| |
64 | 65 |
| |
| 66 | + | |
65 | 67 |
| |
66 | 68 |
| |
67 | 69 |
| |
| |||
73 | 75 |
| |
74 | 76 |
| |
75 | 77 |
| |
| 78 | + | |
76 | 79 |
| |
77 | 80 |
| |
78 | 81 |
| |
| |||
604 | 607 |
| |
605 | 608 |
| |
606 | 609 |
| |
607 |
| - | |
608 |
| - | |
609 |
| - | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
610 | 629 |
| |
611 | 630 |
| |
612 | 631 |
| |
| |||
638 | 657 |
| |
639 | 658 |
| |
640 | 659 |
| |
641 |
| - | |
642 | 660 |
| |
643 |
| - | |
644 |
| - | |
645 |
| - | |
646 |
| - | |
647 |
| - | |
648 |
| - | |
649 |
| - | |
650 |
| - | |
651 |
| - | |
652 |
| - | |
653 |
| - | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
654 | 680 |
| |
655 | 681 |
| |
656 | 682 |
| |
|
google-cloud-storage/src/test/java/com/google/cloud/storage/ITGrpcStorageImplUploadRetryTest.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/test/java/com/google/cloud/storage/ITGrpcStorageImplUploadRetryTest.java+8-4Lines changed: 8 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
| |||
81 | 82 |
| |
82 | 83 |
| |
83 | 84 |
| |
84 |
| - | |
| 85 | + | |
85 | 86 |
| |
86 | 87 |
| |
87 | 88 |
| |
88 | 89 |
| |
89 | 90 |
| |
90 |
| - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
91 | 97 |
| |
92 |
| - | |
93 |
| - | |
94 | 98 |
| |
95 | 99 |
| |
96 | 100 |
| |
|
You can’t perform that action at this time.
0 commit comments