CARVIEW |
Select Language
HTTP/2 200
date: Sun, 20 Jul 2025 12:17:12 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/neo4j/neo4j-javascript-driver.git
etag: W/"dfe2cd7f17d727ef1fcee3bdff46c748"
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=5KOohuhkViVOHRClYAO0tBWj6ta134rV5OE5GFwrEHlSgI5zJRnLhQM9N1gvMvzN4GewU1fd2njVvFbmJbq61iXT5lPFNZgcXQnO6tr71g1pTq%2BZGEEeP00ll%2FO2niuXnR1LRiHV3ImfKkXQP4VoVsDP0Hw4Qcu50vD8M%2FcOR00RM8GVUMQNPzdWdS7iy73Q%2B7Jvr0Z%2BB%2FDTGFSUgSS1LH3lzePO%2B07UQ8tmskJnN7PNtXXBt01o2QUVLhBC1BMndTguiXOoQTZ0No53e%2FVhBA%3D%3D--ICGSmV8VWhFDRP2c--p6bSnhX0pwzN71zjdH2BUQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1620015995.1753013831; Path=/; Domain=github.com; Expires=Mon, 20 Jul 2026 12:17:11 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 20 Jul 2026 12:17:11 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E5BA:36E64:1B670:22A8C:687CDE47
Clear receive timeout when close browser and Deno channels (#1016) · neo4j/neo4j-javascript-driver@84d6f66 · GitHub
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/channel/browser/browser-channel.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/channel/deno/deno-channel.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/channel/browser/browser-channel.test.js
Copy file name to clipboardExpand all lines: packages/neo4j-driver-deno/lib/bolt-connection/channel/browser/browser-channel.js
Copy file name to clipboardExpand all lines: packages/neo4j-driver-deno/lib/bolt-connection/channel/deno/deno-channel.js
Copy file name to clipboardExpand all lines: packages/neo4j-driver/test/temporal-types.test.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit 84d6f66
authored
Clear receive timeout when close browser and Deno channels (#1016)
The receive timeout was not being clearer when channel get closed.
With the timeout running, receive timeouts events can still be notified to the existing observers.
This was causing some tests failing and possible issues in production code.
This bug was found in the test `package/neo4j-driver/test/result.test.js (should handle missing onCompleted)`. This test was calling `done` twice because of a late failing coming to the observer.
Node channels are not affected by this error since its timeout implementation is controlled to the socket.1 parent 1fe1471 commit 84d6f66Copy full SHA for 84d6f66
File tree
Expand file treeCollapse file tree
6 files changed
+63
-45
lines changedFilter options
- packages
- bolt-connection
- src/channel
- browser
- deno
- test/channel/browser
- neo4j-driver-deno/lib/bolt-connection/channel
- browser
- deno
- neo4j-driver/test
Expand file treeCollapse file tree
6 files changed
+63
-45
lines changedpackages/bolt-connection/src/channel/browser/browser-channel.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/channel/browser/browser-channel.js+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
168 | 168 |
| |
169 | 169 |
| |
170 | 170 |
| |
| 171 | + | |
171 | 172 |
| |
172 | 173 |
| |
173 | 174 |
| |
| |||
206 | 207 |
| |
207 | 208 |
| |
208 | 209 |
| |
209 |
| - | |
| 210 | + | |
210 | 211 |
| |
211 | 212 |
| |
212 | 213 |
| |
|
packages/bolt-connection/src/channel/deno/deno-channel.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/channel/deno/deno-channel.js+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
150 | 150 |
| |
151 | 151 |
| |
152 | 152 |
| |
| 153 | + | |
153 | 154 |
| |
154 | 155 |
| |
155 | 156 |
| |
| |||
185 | 186 |
| |
186 | 187 |
| |
187 | 188 |
| |
188 |
| - | |
| 189 | + | |
189 | 190 |
| |
190 | 191 |
| |
191 | 192 |
| |
|
packages/bolt-connection/test/channel/browser/browser-channel.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/channel/browser/browser-channel.test.js+25Lines changed: 25 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
412 | 412 |
| |
413 | 413 |
| |
414 | 414 |
| |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
415 | 440 |
| |
416 | 441 |
| |
417 | 442 |
| |
|
packages/neo4j-driver-deno/lib/bolt-connection/channel/browser/browser-channel.js
Copy file name to clipboardExpand all lines: packages/neo4j-driver-deno/lib/bolt-connection/channel/browser/browser-channel.js+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
168 | 168 |
| |
169 | 169 |
| |
170 | 170 |
| |
| 171 | + | |
171 | 172 |
| |
172 | 173 |
| |
173 | 174 |
| |
| |||
206 | 207 |
| |
207 | 208 |
| |
208 | 209 |
| |
209 |
| - | |
| 210 | + | |
210 | 211 |
| |
211 | 212 |
| |
212 | 213 |
| |
|
packages/neo4j-driver-deno/lib/bolt-connection/channel/deno/deno-channel.js
Copy file name to clipboardExpand all lines: packages/neo4j-driver-deno/lib/bolt-connection/channel/deno/deno-channel.js+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
150 | 150 |
| |
151 | 151 |
| |
152 | 152 |
| |
| 153 | + | |
153 | 154 |
| |
154 | 155 |
| |
155 | 156 |
| |
| |||
185 | 186 |
| |
186 | 187 |
| |
187 | 188 |
| |
188 |
| - | |
| 189 | + | |
189 | 190 |
| |
190 | 191 |
| |
191 | 192 |
| |
|
packages/neo4j-driver/test/temporal-types.test.js
Copy file name to clipboardExpand all lines: packages/neo4j-driver/test/temporal-types.test.js+30-41Lines changed: 30 additions & 41 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
24 | 23 |
| |
25 | 24 |
| |
26 | 25 |
| |
| |||
55 | 54 |
| |
56 | 55 |
| |
57 | 56 |
| |
58 |
| - | |
| 57 | + | |
59 | 58 |
| |
60 | 59 |
| |
61 | 60 |
| |
62 |
| - | |
| 61 | + | |
63 | 62 |
| |
64 | 63 |
| |
65 | 64 |
| |
| |||
101 | 100 |
| |
102 | 101 |
| |
103 | 102 |
| |
104 |
| - | |
| 103 | + | |
105 | 104 |
| |
106 | 105 |
| |
107 | 106 |
| |
108 | 107 |
| |
109 |
| - | |
110 |
| - | |
| 108 | + | |
| 109 | + | |
111 | 110 |
| |
112 | 111 |
| |
113 | 112 |
| |
| |||
169 | 168 |
| |
170 | 169 |
| |
171 | 170 |
| |
172 |
| - | |
| 171 | + | |
173 | 172 |
| |
174 | 173 |
| |
175 | 174 |
| |
176 | 175 |
| |
177 |
| - | |
178 |
| - | |
| 176 | + | |
| 177 | + | |
179 | 178 |
| |
180 | 179 |
| |
181 | 180 |
| |
| |||
226 | 225 |
| |
227 | 226 |
| |
228 | 227 |
| |
229 |
| - | |
| 228 | + | |
230 | 229 |
| |
231 | 230 |
| |
232 | 231 |
| |
233 | 232 |
| |
234 |
| - | |
235 |
| - | |
| 233 | + | |
| 234 | + | |
236 | 235 |
| |
237 | 236 |
| |
238 | 237 |
| |
| |||
281 | 280 |
| |
282 | 281 |
| |
283 | 282 |
| |
284 |
| - | |
| 283 | + | |
285 | 284 |
| |
286 | 285 |
| |
287 | 286 |
| |
288 | 287 |
| |
289 |
| - | |
290 |
| - | |
| 288 | + | |
| 289 | + | |
291 | 290 |
| |
292 | 291 |
| |
293 | 292 |
| |
| |||
346 | 345 |
| |
347 | 346 |
| |
348 | 347 |
| |
349 |
| - | |
| 348 | + | |
350 | 349 |
| |
351 | 350 |
| |
352 | 351 |
| |
353 | 352 |
| |
354 |
| - | |
355 |
| - | |
| 353 | + | |
| 354 | + | |
356 | 355 |
| |
357 | 356 |
| |
358 | 357 |
| |
| |||
442 | 441 |
| |
443 | 442 |
| |
444 | 443 |
| |
445 |
| - | |
| 444 | + | |
446 | 445 |
| |
447 | 446 |
| |
448 | 447 |
| |
449 | 448 |
| |
450 |
| - | |
| 449 | + | |
451 | 450 |
| |
452 | 451 |
| |
453 |
| - | |
| 452 | + | |
454 | 453 |
| |
455 | 454 |
| |
456 | 455 |
| |
| |||
540 | 539 |
| |
541 | 540 |
| |
542 | 541 |
| |
543 |
| - | |
| 542 | + | |
544 | 543 |
| |
545 | 544 |
| |
546 | 545 |
| |
547 | 546 |
| |
548 |
| - | |
| 547 | + | |
549 | 548 |
| |
550 | 549 |
| |
551 |
| - | |
| 550 | + | |
552 | 551 |
| |
553 | 552 |
| |
554 | 553 |
| |
| |||
1403 | 1402 |
| |
1404 | 1403 |
| |
1405 | 1404 |
| |
1406 |
| - | |
1407 |
| - | |
1408 |
| - | |
1409 |
| - | |
1410 |
| - | |
1411 |
| - | |
1412 |
| - | |
1413 |
| - | |
1414 |
| - | |
1415 |
| - | |
1416 |
| - | |
1417 |
| - | |
1418 |
| - | |
1419 |
| - | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
1420 | 1409 |
| |
1421 |
| - | |
| 1410 | + | |
1422 | 1411 |
| |
1423 | 1412 |
| |
1424 | 1413 |
| |
| |||
1463 | 1452 |
| |
1464 | 1453 |
| |
1465 | 1454 |
| |
1466 |
| - | |
| 1455 | + | |
1467 | 1456 |
| |
1468 | 1457 |
| |
1469 |
| - | |
| 1458 | + | |
1470 | 1459 |
| |
1471 | 1460 |
| |
1472 | 1461 |
| |
|
You can’t perform that action at this time.
0 commit comments