CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 01:44:22 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/microsoft/react-native-windows.git
etag: W/"f50bbdb323982e021d09e1c9cfe60339"
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=dc4X2LAflYlBKQt3ca2e%2FWucKCeKABuYa7FO4vFSCWeI6bGsf3DNaKKIYb%2FCAyArufHWeXIdcet%2FW22o%2FGz0nF16a8pYk%2Bfztv8SlIIvqgGtelSyBsQM4Gp3x%2FBliw4qAfQV5oKCdNW5PGTTD%2Fu52Y0JCEQOyp5vcPrWB096YcGjX2qDF4CvPnlUyiePEpSsAixIqpDDApdFcpkuYgh8svDlmYRCIjEqSo%2FLtaz%2Bdl%2Bj81D8bhoHWYcdJO6PkuBHMVoMDWj7TaONKKMMcuwhjg%3D%3D--8r9jx%2BE7EvQC%2B8tH--r6DgyUD718pjOM1QkTReCQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.523974509.1753580661; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 01:44:21 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 01:44:21 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B8A0:872F4:9C9F2F:D00A0B:68858475
Implement WebSocket resource task sequencer (#14577) · microsoft/react-native-windows@cdf1d34 · GitHub
Copy file name to clipboard
Copy file name to clipboardExpand all lines: vnext/Shared/Networking/WinRTWebSocketResource.cpp
Copy file name to clipboardExpand all lines: vnext/Shared/Networking/WinRTWebSocketResource.h
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit cdf1d34
authored
Implement WebSocket resource task sequencer (#14577)
* Define TaskSequencer
* Explicitly capture suspend
* Temporarily commit packages locks
* Move TaskSequencer into header
* Declare m_sequencer
- Make PerformWrite IAsyncAction
* Temporarily add packages lock
* Define EnqueueWrite,DequeueWrite
* Temporarily hard-code V2 resource
* Use EnqueueWrite
* Enqueue write within PerformWrite
* Enqueue connection
* Add test thread IDs
* Enqueue close op
* Connect in background
* Enqueue Connect, Write, Close after resume_background
* Sequence sequencer's sequenced sequences using DispatchQueue
* Drop m_connectPerformed
* Delete commented code
* Remove thread ID traces
* Use explicit capture in calls to sequencer
* Make EnqueueWrite call PerformWrite
- Drop DequeueWrite.
- Make EnqueueWrite the fire-and-forget method.
- Make PerformWrite the actual message-sending implementation.
* Drop SendPendingMessages
* Drop m_outgoingMessages
* Drop m_outgoingMessages, SendPendingMessages
- Avoid awaiting in catch clauses
* Drop isBinaryLocal
* Drop unused length in PerformWrite
* Drop unused messageLocal in PerformWrite
* clang format
* Revert packages lock files
* Revert WebSocketResourceFactory
* Change files
* Add missing captured resource reference in PerformWrite1 parent fa26d11 commit cdf1d34Copy full SHA for cdf1d34
File tree
Expand file treeCollapse file tree
3 files changed
+180
-108
lines changedFilter options
- change
- vnext/Shared/Networking
Expand file treeCollapse file tree
3 files changed
+180
-108
lines changedchange/react-native-windows-78019c69-0a87-4e59-b322-769bd55568e2.json
Copy file name to clipboard+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + |
vnext/Shared/Networking/WinRTWebSocketResource.cpp
Copy file name to clipboardExpand all lines: vnext/Shared/Networking/WinRTWebSocketResource.cpp+82-101Lines changed: 82 additions & 101 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
93 | 92 |
| |
94 | 93 |
| |
95 | 94 |
| |
| |||
104 | 103 |
| |
105 | 104 |
| |
106 | 105 |
| |
107 |
| - | |
108 | 106 |
| |
109 | 107 |
| |
110 | 108 |
| |
| |||
221 | 219 |
| |
222 | 220 |
| |
223 | 221 |
| |
224 |
| - | |
| 222 | + | |
225 | 223 |
| |
226 | 224 |
| |
227 | 225 |
| |
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 |
| - | |
| 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 | + | |
254 | 251 |
| |
255 | 252 |
| |
256 | 253 |
| |
257 | 254 |
| |
258 | 255 |
| |
259 |
| - | |
260 |
| - | |
261 | 256 |
| |
262 | 257 |
| |
263 |
| - | |
264 |
| - | |
| 258 | + | |
| 259 | + | |
265 | 260 |
| |
266 |
| - | |
267 |
| - | |
268 |
| - | |
269 |
| - | |
270 |
| - | |
271 |
| - | |
272 |
| - | |
273 |
| - | |
274 |
| - | |
275 |
| - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
276 | 274 |
| |
277 | 275 |
| |
278 |
| - | |
| 276 | + | |
279 | 277 |
| |
280 | 278 |
| |
281 | 279 |
| |
282 |
| - | |
283 |
| - | |
284 |
| - | |
285 |
| - | |
286 |
| - | |
287 | 280 |
| |
288 | 281 |
| |
289 |
| - | |
290 |
| - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
291 | 286 |
| |
292 |
| - | |
293 |
| - | |
294 |
| - | |
295 |
| - | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
296 | 290 |
| |
| 291 | + | |
297 | 292 |
| |
298 | 293 |
| |
299 |
| - | |
300 |
| - | |
301 |
| - | |
302 |
| - | |
303 |
| - | |
304 |
| - | |
305 |
| - | |
306 |
| - | |
307 |
| - | |
308 |
| - | |
309 |
| - | |
310 |
| - | |
311 |
| - | |
312 |
| - | |
313 |
| - | |
314 |
| - | |
315 |
| - | |
316 |
| - | |
317 |
| - | |
318 |
| - | |
319 |
| - | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
320 | 297 |
| |
321 |
| - | |
322 |
| - | |
323 |
| - | |
324 |
| - | |
325 |
| - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
326 | 301 |
| |
327 |
| - | |
328 |
| - | |
329 |
| - | |
330 |
| - | |
331 |
| - | |
332 |
| - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
333 | 309 |
| |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
334 | 315 |
| |
335 |
| - | |
336 |
| - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
337 | 321 |
| |
338 |
| - | |
339 |
| - | |
340 |
| - | |
341 |
| - | |
342 |
| - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
343 | 328 |
| |
344 | 329 |
| |
345 | 330 |
| |
| |||
393 | 378 |
| |
394 | 379 |
| |
395 | 380 |
| |
396 |
| - | |
397 |
| - | |
398 |
| - | |
399 |
| - | |
400 |
| - | |
| 381 | + | |
401 | 382 |
| |
402 | 383 |
| |
403 | 384 |
| |
| |||
406 | 387 |
| |
407 | 388 |
| |
408 | 389 |
| |
409 |
| - | |
| 390 | + | |
410 | 391 |
| |
411 | 392 |
| |
412 | 393 |
| |
413 |
| - | |
| 394 | + | |
414 | 395 |
| |
415 | 396 |
| |
416 | 397 |
| |
|
vnext/Shared/Networking/WinRTWebSocketResource.h
Copy file name to clipboardExpand all lines: vnext/Shared/Networking/WinRTWebSocketResource.h+91-7Lines changed: 91 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 |
| - | |
23 | 21 |
| |
24 |
| - | |
| 22 | + | |
25 | 23 |
| |
26 |
| - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
27 | 70 |
| |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
28 | 112 |
| |
| 113 | + | |
29 | 114 |
| |
30 | 115 |
| |
31 |
| - | |
32 | 116 |
| |
33 | 117 |
| |
34 | 118 |
| |
| |||
52 | 136 |
| |
53 | 137 |
| |
54 | 138 |
| |
55 |
| - | |
| 139 | + | |
| 140 | + | |
56 | 141 |
| |
57 |
| - | |
58 | 142 |
| |
59 | 143 |
| |
60 | 144 |
| |
|
You can’t perform that action at this time.
0 commit comments