summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2022-04-28 10:43:56 +0800
committerMatt Johnston <matt@ucc.asn.au>2022-04-28 10:43:56 +0800
commit46654cda858db2417603250238f6d141ff342900 (patch)
tree7e955ef7eddfcb76584c72ce799a3a9b136cb6af
parent72d8cae7a4c295cabca2dd0fbe14f134762dc90a (diff)
downloaddropbear-46654cda858db2417603250238f6d141ff342900.tar.gz
Increase build.yml DEFAULT_IDLE_TIMEOUT
-rw-r--r--.github/workflows/build.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9a85d2a..7e71e82 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -140,10 +140,11 @@ jobs:
if: ${{ matrix.nondefault }}
run: |
# Turn on anything that's off by default. Rough but seems sufficient
- # UNAUTH_CLOSE_DELAY causes testing problems with lingering sockets, skip it.
- grep ' 0$' default_options.h | grep -v UNAUTH_CLOSE_DELAY | sed 's/0$/1/' > localoptions.h
+ grep ' 0$' default_options.h | sed 's/0$/1/' > localoptions.h
# PAM clashes with password
echo "#define DROPBEAR_SVR_PASSWORD_AUTH 0" >> localoptions.h
+ # 1 second timeout is too short
+ sed -i "s/DEFAULT_IDLE_TIMEOUT 1/DEFAULT_IDLE_TIMEOUT 99/" localoptions.h
- name: make
run: make -j3