From 46654cda858db2417603250238f6d141ff342900 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 28 Apr 2022 10:43:56 +0800 Subject: [PATCH] Increase build.yml DEFAULT_IDLE_TIMEOUT --- .github/workflows/build.yml | 5 +++-- 1 file 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