CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 06:28:38 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/containerd/containerd.git
etag: W/"95a88c51fdc1fc996d9de2e118df53f5"
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=bHg6J8MJ43ysbxJ4Vpu7DW%2BsuTp1GnrEB618f61TM9IUoINX%2FpErv9uIasfQ9RxPbcjDFKAflX%2FI04Ayblta7najU7TdrowWa4SebbgAIdGrTwWOo%2BK1S%2FaU5L1LH%2BJtqd9OZ0FV65qNkAwpn4JUQ2qLwC%2FWB1bfGB4tpSpQ8I1zR0kBtHNrUVj4Fms2xhCZuSPFXsLt1fNoPEBPGL6RQ0BUbLi28u7RrVY6oIBW%2B6AD1ZL9TOSSIh9bBvj7vYe2Bg%2FAwa52jIYj7JX62xkOqA%3D%3D--9RFDnSs7NIP8jZvl--kRgn9XnYGdZDCSLnSuVRrQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1112573227.1753684118; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 06:28:38 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 06:28:38 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8052:3E3773:BE53B3:F9D842:68871896
proxy: break up writes from the remote writer to avoid grpc limits · containerd/containerd@eaa7ca8 · GitHub
Copy file name to clipboardExpand all lines: core/content/proxy/content_writer.go
Copy file name to clipboardExpand all lines: core/content/testsuite/testsuite.go
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit eaa7ca8
committed
proxy: break up writes from the remote writer to avoid grpc limits
The remote content writer proxy already has the capability to break up
large files into multiple writes, but the current API doesn't recognize
when it's about to exceed the limits and attempts to send the data over
grpc in one message instead of breaking it into multiple messages.
This changes the behavior of `Write` to automatically break up the size
of the content based on the max send message size.
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
(cherry picked from commit f25f36c)1 parent 67bb32a commit eaa7ca8Copy full SHA for eaa7ca8
File tree
Expand file treeCollapse file tree
2 files changed
+41
-20
lines changedFilter options
- core/content
- proxy
- testsuite
Expand file treeCollapse file tree
2 files changed
+41
-20
lines changedcore/content/proxy/content_writer.go
Copy file name to clipboardExpand all lines: core/content/proxy/content_writer.go+28-17Lines changed: 28 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| 29 | + | |
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
| |||
76 | 77 |
| |
77 | 78 |
| |
78 | 79 |
| |
79 |
| - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
80 | 83 |
| |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
89 | 98 |
| |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
94 | 105 |
| |
95 |
| - | |
96 |
| - | |
97 |
| - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
98 | 109 |
| |
99 |
| - | |
| 110 | + | |
100 | 111 |
| |
101 | 112 |
| |
102 | 113 |
| |
|
core/content/testsuite/testsuite.go
Copy file name to clipboardExpand all lines: core/content/testsuite/testsuite.go+13-3Lines changed: 13 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
178 | 185 |
| |
179 | 186 |
| |
180 | 187 |
| |
| |||
201 | 208 |
| |
202 | 209 |
| |
203 | 210 |
| |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
204 | 216 |
| |
205 | 217 |
| |
206 | 218 |
| |
| |||
647 | 659 |
| |
648 | 660 |
| |
649 | 661 |
| |
650 |
| - | |
651 | 662 |
| |
652 | 663 |
| |
653 | 664 |
| |
| |||
734 | 745 |
| |
735 | 746 |
| |
736 | 747 |
| |
737 |
| - | |
738 | 748 |
| |
739 | 749 |
| |
740 | 750 |
| |
| |||
931 | 941 |
| |
932 | 942 |
| |
933 | 943 |
| |
934 |
| - | |
935 | 944 |
| |
936 | 945 |
| |
937 | 946 |
| |
| |||
1129 | 1138 |
| |
1130 | 1139 |
| |
1131 | 1140 |
| |
| 1141 | + | |
1132 | 1142 |
| |
1133 | 1143 |
| |
1134 | 1144 |
| |
|
You can’t perform that action at this time.
0 commit comments