diff --git a/doc/index.html b/doc/index.html
index 3607545..033be15 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -224,7 +224,7 @@ regular rsa key for greatest compatibility.
Change Log
-- 2019/09/XXX Version 24: Fix crash with "Start on Open" on Android 9. New TV icon. Slightly faster.
+
- 2019/09/XXX Version 24: Fix crash with "Start on Open" on Android 9. New TV icon. Improve performance.
- 2019/09/21 Version 23: Support Android TV.
- 2019/09/01 Version 22: Add broadcast intents for start and stop.
- 2019/08/11 Version 21: Fix restarting after a crash. Fix SIGSEGV on some Android 9 devices.
diff --git a/jni/config.h b/jni/config.h
index c4a6086..833fe7c 100644
--- a/jni/config.h
+++ b/jni/config.h
@@ -34,6 +34,9 @@
#define LOCALOPTIONS_H_EXISTS 1
+/* this makes dropbear much faster at receiving files */
+#define DEFAULT_RECV_WINDOW 524288
+#define RECV_MAX_PAYLOAD_LEN (524288+16384)
/* in jni/interface.c: */
extern const char *conf_path;