Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix issues seen in "multi" mode when a large number of sockets are created concurrently #1509

Merged
merged 27 commits into from
Nov 16, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f115ac4
fix: fix issues seen in "multi" mode when a large number of sockets a…
gkc Nov 8, 2024
903898c
Merge branch 'trunk' into fix-multi-highly-concurrent
gkc Nov 11, 2024
51c0ed8
Merge branch 'trunk' into fix-multi-highly-concurrent
XavierChanth Nov 12, 2024
a352252
build: take up socket_connector 2.3.1
gkc Nov 12, 2024
7a50522
Merge remote-tracking branch 'origin/fix-multi-highly-concurrent' int…
gkc Nov 12, 2024
e1a3a68
Merge branch 'trunk' into fix-multi-highly-concurrent
gkc Nov 12, 2024
cdb6963
chore: removed some commented-out code
gkc Nov 12, 2024
76a768e
Merge remote-tracking branch 'origin/fix-multi-highly-concurrent' int…
gkc Nov 12, 2024
d56a176
fix: fix race condition introduced by previous commits
gkc Nov 12, 2024
b37277d
fix: fix race condition introduced by previous commits
gkc Nov 12, 2024
c2314cc
fix: take up socket_connector release candidate 2.3.2
gkc Nov 12, 2024
65d72ff
Merge remote-tracking branch 'origin/trunk' into fix-multi-highly-con…
gkc Nov 13, 2024
fcc63fa
build: take up socket_connector 2.3.2; nump noports_core package version
gkc Nov 13, 2024
0d62891
build: bump noports_core version in sshnoports' pubspec
gkc Nov 13, 2024
719e9ec
build: bumping sshnoports version to 5.6.4
gkc Nov 13, 2024
c18fe6c
build: use socket_connector 2.3.3 from git branch
gkc Nov 13, 2024
3bf2fb7
feat: if "NP_TRACE" is in the environment as 'true' then set verbose:…
gkc Nov 13, 2024
c05b9e0
feat: stuff to help troubleshooting
gkc Nov 14, 2024
cb6d209
build: take up next candidate 2.3.3 socket_connector
gkc Nov 14, 2024
13c4568
test: add a couple of simple programmes to help with testing where we…
gkc Nov 14, 2024
33de449
test: add a couple of simple programmes to help with testing where we…
gkc Nov 14, 2024
98467e6
build: pubspec.lock update
gkc Nov 14, 2024
f6d176d
fix: npt: gracefully handle failures to connect to 'local' hosts / po…
gkc Nov 15, 2024
682899a
chore: dart format
gkc Nov 15, 2024
ef7d5c9
build: update pubspecs to pull latest commit from socket_connector fi…
gkc Nov 15, 2024
1a062c3
build: update pubspecs to use socket_connector 2.3.3
gkc Nov 16, 2024
46b27a8
Merge remote-tracking branch 'origin/trunk' into fix-multi-highly-con…
gkc Nov 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions apps/admin/admin_api/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ packages:
dependency: transitive
description:
name: at_auth
sha256: "28f72f0fc26ec7f5f58d28fd29f964c9b2b35ecdc8dd4805ed7174851da2cbcc"
sha256: f4fec32e2a1ca8827604b5e54a7611ddad092c6ba607c138675c1cba5215b038
url: "https://pub.dev"
source: hosted
version: "2.0.5"
version: "2.0.7"
at_base2e15:
dependency: transitive
description:
Expand All @@ -83,10 +83,10 @@ packages:
dependency: transitive
description:
name: at_chops
sha256: "825171a3132b3756119bd16b6fd1fa6257f74a64babaf13cae2d82d53b8c6be1"
sha256: "7660aa2722fe5612e12e666bff2f19165f41ae8f90dd4b9c59dfd03365fb998e"
url: "https://pub.dev"
source: hosted
version: "2.0.0"
version: "2.1.0"
at_cli_commons:
dependency: "direct main"
description:
Expand All @@ -99,18 +99,18 @@ packages:
dependency: "direct main"
description:
name: at_client
sha256: "2e98fe0c0c520b8e7ad6dfd0ad53ecb97f1ceb33c9b117dda69417b72a067c60"
sha256: "50c7e5988fde978f41c4c3a12cc367f92b235193e9bc1567551765dc453b5f91"
url: "https://pub.dev"
source: hosted
version: "3.2.0"
version: "3.3.0"
at_commons:
dependency: transitive
description:
name: at_commons
sha256: "2d0490a0c5bcd43c6a37911d85b71c133767aec47abc65bd8ecb20c8caaddeab"
sha256: bf3ad3e13075833c47783b19b53f01f23b6c329e6fc050aa8ede249fffd18768
url: "https://pub.dev"
source: hosted
version: "4.0.11"
version: "5.0.1"
at_demo_data:
dependency: transitive
description:
Expand All @@ -123,26 +123,26 @@ packages:
dependency: transitive
description:
name: at_lookup
sha256: e989099d5f2cd6415097c8e4353340bd2048c9ee1bc82665f2b4f7c4615ad055
sha256: "2fa727fbdd6d3e5a79132786a74cbf03776833e1671f8cb471d21585f8448f95"
url: "https://pub.dev"
source: hosted
version: "3.0.47"
version: "3.0.49"
at_onboarding_cli:
dependency: transitive
description:
name: at_onboarding_cli
sha256: fca7f5d96e83adf50057bccc6ebde3ec6562adfff99031894c781badf6daf623
sha256: "9797347880162490efd47f06df8b26f667bff9e00d31d6ea176660c9b9ced06e"
url: "https://pub.dev"
source: hosted
version: "1.6.2"
version: "1.6.4"
at_persistence_secondary_server:
dependency: transitive
description:
name: at_persistence_secondary_server
sha256: "1ec73b56e61b8aee94104ad4610c17cf07e366239337bedd43fa80c7765a391d"
sha256: f312dc1827648bbdeb55f8e9867c232ef38f0dde64025ff5b3d339050483c5ea
url: "https://pub.dev"
source: hosted
version: "3.0.63"
version: "3.0.65"
at_persistence_spec:
dependency: transitive
description:
Expand All @@ -155,10 +155,10 @@ packages:
dependency: transitive
description:
name: at_server_status
sha256: "316c3e6717592677207d4f0a836b013271ca0f729e8b575c9195d19cfc57e71b"
sha256: "2773fa7c4377802b671f6854863214aabe8ee8cd49be87226352dd14562a5d6b"
url: "https://pub.dev"
source: hosted
version: "1.0.4"
version: "1.0.5"
at_utf7:
dependency: transitive
description:
Expand All @@ -171,10 +171,10 @@ packages:
dependency: transitive
description:
name: at_utils
sha256: ec28600e4eec321ee5e22be051109fa7b2e94590dc51d9f957730c2540beb681
sha256: b4461b0743f323429d57c387e91186537df8a6aeb4608bbeb6c2adf01d9f08f9
url: "https://pub.dev"
source: hosted
version: "3.0.16"
version: "3.0.19"
boolean_selector:
dependency: transitive
description:
Expand Down Expand Up @@ -613,7 +613,7 @@ packages:
path: "../../../packages/dart/noports_core"
relative: true
source: path
version: "6.1.0"
version: "6.2.0"
openssh_ed25519:
dependency: transitive
description:
Expand Down
1 change: 1 addition & 0 deletions packages/dart/noports_core/lib/src/srv/srv_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ class SrvImplDart implements Srv<SocketConnector> {
List<InternetAddress> hosts,
String request,
) async {
request = request.trim();
List<String> args = request.split(":");
switch (args.first) {
case 'connect':
Expand Down
4 changes: 4 additions & 0 deletions packages/dart/noports_core/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ dependencies:
json_annotation: ^4.9.0

dependency_overrides:
socket_connector:
git:
url: https://github.com/atsign-foundation/socket_connector
ref: gkc/2.3.0
dartssh2:
git:
url: https://github.com/atsign-foundation/dartssh2
Expand Down
11 changes: 6 additions & 5 deletions packages/dart/sshnoports/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -725,11 +725,12 @@ packages:
socket_connector:
dependency: "direct main"
description:
name: socket_connector
sha256: "3c641546699aa58e9ab8be9841627a30af3c1ffcf4461ca5d00d7c56392ab63a"
url: "https://pub.dev"
source: hosted
version: "2.2.0"
path: "."
ref: "gkc/2.3.0"
resolved-ref: "193a5294ea0a1b36818797063142cee137e35967"
url: "https://github.com/atsign-foundation/socket_connector"
source: git
version: "2.3.0"
source_map_stack_trace:
dependency: transitive
description:
Expand Down
4 changes: 4 additions & 0 deletions packages/dart/sshnoports/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ dependencies:
yaml: 3.1.2

dependency_overrides:
socket_connector:
git:
url: https://github.com/atsign-foundation/socket_connector
ref: gkc/2.3.0
dartssh2:
git:
url: https://github.com/atsign-foundation/dartssh2
Expand Down
Loading