mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-01-30 12:25:35 +02:00
[cdc_rsync] Use any available server port (#94)
Instead of calling netstat on the remote device to detect available ports, simply call bind with port 0 to bind to any available port. Since the port is not yet known when cdc_rsync_server.exe is called, port forwarding needs to be started AFTER the server reports its port.
This commit is contained in:
2
.github/workflows/create_release.yml
vendored
2
.github/workflows/create_release.yml
vendored
@@ -63,7 +63,6 @@ jobs:
|
||||
--test_output=errors --local_test_jobs=1 \
|
||||
-- //... -//third_party/... -//cdc_rsync_server:file_finder_test
|
||||
|
||||
# The artifact collector doesn't like the fact that bazel-bin is a symlink.
|
||||
- name: Copy artifacts
|
||||
run: |
|
||||
mkdir artifacts
|
||||
@@ -152,7 +151,6 @@ jobs:
|
||||
//manifest/... `
|
||||
//metrics/...
|
||||
|
||||
# The artifact collector doesn't like the fact that bazel-bin is a symlink.
|
||||
- name: Copy artifacts
|
||||
run: |
|
||||
mkdir artifacts
|
||||
|
||||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -3,7 +3,7 @@ name: Lint
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
||||
Reference in New Issue
Block a user