CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 23:48:19 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/"9d12af468e3bfca55d47e92adcef2773"
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=vNEEi3EsbzKGjsoYWVatE8Dmk%2FO5hfBjh2VJ37DqmZU9A0J7EiEY0uPgpA6i4eIX0ifP%2Btn3HOq%2FnxCeTaiyvzl3LKamwo6iyzEb5mI9ep%2BKADVpzeGZQ0Na%2FtaSV6i4NjJh1HBrtM1Q6vVxqX7bXw9r6HGg4%2Baj473%2BZXO7DibOPlNhUhmoIq6Acj1DPwOqDgPHPeCbvI4CIeEzwwK%2FNnkauaFGcj1Gh3W16SaFnaj1koSZTecQQQBPVDJSFeT0C83rm5wBXVuVrZzdBqfSMQ%3D%3D--nUMtHUA3WiPwwoaQ--qBrIqK%2FKVqRizmdQbkaL%2FQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.248909066.1753228098; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 23:48:18 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 23:48:18 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B9CA:33F9F4:1CD533:27F43F:68802342
Avoid sending resets when it is not needed (#902) · neo4j/neo4j-javascript-driver@cc4598b · GitHub
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/bolt/bolt-protocol-v1.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/connection-provider/connection-provider-pooled.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/connection/connection-channel.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/connection/connection-delegate.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/connection/connection.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/connection-provider/connection-provider-direct.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/connection-provider/connection-provider-routing.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/connection/connection-channel.test.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit cc4598b
authored
Avoid sending resets when it is not needed (#902)
The `RESET` should be send when a failure occurs or whenever the connection is being sent back
to the pool with a pending request running, i.e. the bolt server is not in the `READY` state.
These changes also affect the `verifyConnectivity` and `getServerInfo` implementation.
The `RESET` message is not sent in these methods if it is a newly created connection.1 parent c0580eb commit cc4598bCopy full SHA for cc4598b
File tree
Expand file treeCollapse file tree
17 files changed
+352
-14
lines changedFilter options
- packages
- bolt-connection
- src
- bolt
- connection-provider
- connection
- test
- connection-provider
- connection
- core
- src
- internal
- test
- utils
- neo4j-driver/test/internal
- testkit-backend/src
- feature
Expand file treeCollapse file tree
17 files changed
+352
-14
lines changedpackages/bolt-connection/src/bolt/bolt-protocol-v1.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/bolt/bolt-protocol-v1.js+11Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
| 82 | + | |
82 | 83 |
| |
83 | 84 |
| |
84 | 85 |
| |
| |||
356 | 357 |
| |
357 | 358 |
| |
358 | 359 |
| |
| 360 | + | |
| 361 | + | |
359 | 362 |
| |
360 | 363 |
| |
361 | 364 |
| |
| |||
369 | 372 |
| |
370 | 373 |
| |
371 | 374 |
| |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
372 | 383 |
| |
373 | 384 |
| |
374 | 385 |
| |
|
packages/bolt-connection/src/connection-provider/connection-provider-pooled.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/connection-provider/connection-provider-pooled.js+6-2Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
74 |
| - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
75 | 77 |
| |
76 | 78 |
| |
77 | 79 |
| |
| |||
119 | 121 |
| |
120 | 122 |
| |
121 | 123 |
| |
122 |
| - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
123 | 127 |
| |
124 | 128 |
| |
125 | 129 |
| |
|
packages/bolt-connection/src/connection/connection-channel.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/connection/connection-channel.js+39-2Lines changed: 39 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
| 126 | + | |
| 127 | + | |
126 | 128 |
| |
127 | 129 |
| |
128 | 130 |
| |
| |||
304 | 306 |
| |
305 | 307 |
| |
306 | 308 |
| |
307 |
| - | |
| 309 | + | |
308 | 310 |
| |
309 | 311 |
| |
310 | 312 |
| |
| |||
328 | 330 |
| |
329 | 331 |
| |
330 | 332 |
| |
331 |
| - | |
| 333 | + | |
332 | 334 |
| |
333 | 335 |
| |
334 | 336 |
| |
| |||
338 | 340 |
| |
339 | 341 |
| |
340 | 342 |
| |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
341 | 378 |
| |
342 | 379 |
| |
343 | 380 |
| |
|
packages/bolt-connection/src/connection/connection-delegate.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/connection/connection-delegate.js+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
86 | 90 |
| |
87 | 91 |
| |
88 | 92 |
| |
|
packages/bolt-connection/src/connection/connection.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/connection/connection.js+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
106 | 110 |
| |
107 | 111 |
| |
108 | 112 |
| |
|
packages/bolt-connection/test/connection-provider/connection-provider-direct.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/connection-provider/connection-provider-direct.test.js+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
251 | 251 |
| |
252 | 252 |
| |
253 | 253 |
| |
254 |
| - | |
| 254 | + | |
255 | 255 |
| |
256 | 256 |
| |
257 | 257 |
| |
|
packages/bolt-connection/test/connection-provider/connection-provider-routing.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/connection-provider/connection-provider-routing.test.js+24-2Lines changed: 24 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2584 | 2584 |
| |
2585 | 2585 |
| |
2586 | 2586 |
| |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
2587 | 2607 |
| |
2588 | 2608 |
| |
2589 | 2609 |
| |
| |||
2756 | 2776 |
| |
2757 | 2777 |
| |
2758 | 2778 |
| |
2759 |
| - | |
| 2779 | + | |
2760 | 2780 |
| |
2761 | 2781 |
| |
2762 | 2782 |
| |
| |||
2774 | 2794 |
| |
2775 | 2795 |
| |
2776 | 2796 |
| |
| 2797 | + | |
2777 | 2798 |
| |
2778 | 2799 |
| |
2779 | 2800 |
| |
| |||
3082 | 3103 |
| |
3083 | 3104 |
| |
3084 | 3105 |
| |
3085 |
| - | |
| 3106 | + | |
| 3107 | + | |
3086 | 3108 |
| |
3087 | 3109 |
| |
3088 | 3110 |
| |
|
packages/bolt-connection/test/connection/connection-channel.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/connection/connection-channel.test.js+174Lines changed: 174 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
260 | 260 |
| |
261 | 261 |
| |
262 | 262 |
| |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
263 | 333 |
| |
264 | 334 |
| |
265 | 335 |
| |
| |||
340 | 410 |
| |
341 | 411 |
| |
342 | 412 |
| |
| 413 | + | |
| 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 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
343 | 517 |
| |
344 | 518 |
| |
345 | 519 |
| |
|
You can’t perform that action at this time.
0 commit comments