CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 05:31:06 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/"e19d352c8a404624d9b1cabed0930faf"
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=n4CqxzIIInAiIfkN0VMYQSagKFiQyvFWOVFe806as5bE3%2FR%2B4TYkX%2BdIDjGafDYJ8CNayK%2B0XAdpRcJSFzZBJ%2BPwQ%2Bu%2FCeqs0dnVTpmrmVGu0btSRGKl8a%2BQ17LPjSp8qyStYR2lUrUZgc0rtLTdr%2BsHTnxDEwyNqf4fNs5SW7LUo8nB4VFdNZHzDOd%2B6JnsMFSYIWLmfRhJRR23K4MnW%2Bth8DpLRxcmD5bxyVc3ETrTpJO0t8H%2FG4VBR8hk8OAiI0xInzMDAkfYZBa9r0PPvA%3D%3D--uiRKvYclOfQIgr0M--2%2FkjGcuRBw%2FN%2FTuyOR9F%2Bg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2047897559.1753335065; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 05:31:05 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 05:31:05 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D9D2:B5FA6:13B53BC:17EB975:6881C519
fix: fix JSON read handling when socket broken resulting in partial b… · googleapis/java-storage@d4bfcf0 · GitHub
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/ApiaryUnbufferedReadableByteChannel.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/Buffers.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/test/java/com/google/cloud/storage/conformance/retry/RpcMethodMappings.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITBlobReadChannelV2RetryTest.java
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit d4bfcf0
authored
fix: fix JSON read handling when socket broken resulting in partial bytes copied (#2303)
Add integration test with testbench to force failure during read
Update retry conformance tests to assert full byte content when read through reader
Fixes #23011 parent c069aca commit d4bfcf0Copy full SHA for d4bfcf0
File tree
Expand file treeCollapse file tree
4 files changed
+91
-9
lines changedFilter options
- google-cloud-storage/src
- main/java/com/google/cloud/storage
- test/java/com/google/cloud/storage
- conformance/retry
- it
Expand file treeCollapse file tree
4 files changed
+91
-9
lines changedgoogle-cloud-storage/src/main/java/com/google/cloud/storage/ApiaryUnbufferedReadableByteChannel.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/ApiaryUnbufferedReadableByteChannel.java+21-3Lines changed: 21 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
| 50 | + | |
50 | 51 |
| |
51 | 52 |
| |
52 | 53 |
| |
| |||
68 | 69 |
| |
69 | 70 |
| |
70 | 71 |
| |
| 72 | + | |
71 | 73 |
| |
72 | 74 |
| |
73 | 75 |
| |
| |||
84 | 86 |
| |
85 | 87 |
| |
86 | 88 |
| |
| 89 | + | |
87 | 90 |
| |
88 | 91 |
| |
89 | 92 |
| |
90 | 93 |
| |
91 | 94 |
| |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
92 | 102 |
| |
93 | 103 |
| |
94 | 104 |
| |
95 | 105 |
| |
96 | 106 |
| |
| 107 | + | |
97 | 108 |
| |
98 | 109 |
| |
99 | 110 |
| |
100 | 111 |
| |
101 | 112 |
| |
102 | 113 |
| |
103 | 114 |
| |
104 |
| - | |
| 115 | + | |
105 | 116 |
| |
106 |
| - | |
| 117 | + | |
107 | 118 |
| |
108 |
| - | |
| 119 | + | |
109 | 120 |
| |
110 | 121 |
| |
111 | 122 |
| |
| |||
121 | 132 |
| |
122 | 133 |
| |
123 | 134 |
| |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
124 | 142 |
| |
125 | 143 |
| |
126 | 144 |
| |
|
google-cloud-storage/src/main/java/com/google/cloud/storage/Buffers.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/Buffers.java+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
| |||
159 | 160 |
| |
160 | 161 |
| |
161 | 162 |
| |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
162 | 168 |
|
google-cloud-storage/src/test/java/com/google/cloud/storage/conformance/retry/RpcMethodMappings.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/test/java/com/google/cloud/storage/conformance/retry/RpcMethodMappings.java+11-4Lines changed: 11 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
1277 | 1278 |
| |
1278 | 1279 |
| |
1279 | 1280 |
| |
1280 |
| - | |
1281 |
| - | |
| 1281 | + | |
| 1282 | + | |
1282 | 1283 |
| |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
1283 | 1287 |
| |
1284 | 1288 |
| |
1285 | 1289 |
| |
| |||
1299 | 1303 |
| |
1300 | 1304 |
| |
1301 | 1305 |
| |
1302 |
| - | |
1303 |
| - | |
| 1306 | + | |
| 1307 | + | |
1304 | 1308 |
| |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
1305 | 1312 |
| |
1306 | 1313 |
| |
1307 | 1314 |
| |
|
google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITBlobReadChannelV2RetryTest.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITBlobReadChannelV2RetryTest.java+53-2Lines changed: 53 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
163 |
| - | |
164 |
| - | |
165 | 163 |
| |
166 | 164 |
| |
167 | 165 |
| |
| |||
200 | 198 |
| |
201 | 199 |
| |
202 | 200 |
| |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
203 | 254 |
|
You can’t perform that action at this time.
0 commit comments