diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7726fa7af..06b81571e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -571,6 +571,8 @@ vs2017-x64: - win32-ps needs: [] variables: + GIT_SUBMODULE_STRATEGY: recursive + GIT_SUBMODULE_DEPTH: 1 PYTHONUTF8: "1" script: # FIXME: These should use --wrap-mode=nodownload but the Windows CI machines @@ -602,6 +604,8 @@ vs2017-x64-static: - win32-ps needs: [] variables: + GIT_SUBMODULE_STRATEGY: recursive + GIT_SUBMODULE_DEPTH: 1 PYTHONUTF8: "1" script: # FIXME: These should use --wrap-mode=nodownload but the Windows CI machines diff --git a/gio/gsocks4aproxy.c b/gio/gsocks4aproxy.c index 3dad118eb..b3146d08f 100644 --- a/gio/gsocks4aproxy.c +++ b/gio/gsocks4aproxy.c @@ -79,9 +79,9 @@ g_socks4a_proxy_init (GSocks4aProxy *proxy) * +----+----+----+----+----+----+----+----+----+----+....+----+------+....+------+ * | VN | CD | DSTPORT | DSTIP | USERID |NULL| HOST | | NULL | * +----+----+----+----+----+----+----+----+----+----+....+----+------+....+------+ - * 1 1 2 4 variable 1 variable + * 1 1 2 4 variable 1 variable 1 */ -#define SOCKS4_CONN_MSG_LEN (9 + SOCKS4_MAX_LEN * 2) +#define SOCKS4_CONN_MSG_LEN (10 + SOCKS4_MAX_LEN * 2) static gint set_connect_msg (guint8 *msg, const gchar *hostname,