summaryrefslogtreecommitdiff
path: root/HTTPcode.c
diff options
context:
space:
mode:
authorJohn Wiseman <john.wiseman@cantab.net>2022-12-31 10:44:53 +0000
committerJohn Wiseman <john.wiseman@cantab.net>2022-12-31 10:44:53 +0000
commit90bdcbe130dbbc9985a7a8477628a4e3532e45f0 (patch)
tree1b751234609ae587e93078af8f43673d7960a048 /HTTPcode.c
parentebc845ec8c8ed630f77205fbad9a19174e93785a (diff)
6.0.23.3423.36
Diffstat (limited to 'HTTPcode.c')
-rw-r--r--HTTPcode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/HTTPcode.c b/HTTPcode.c
index b18b374..6ea9e76 100644
--- a/HTTPcode.c
+++ b/HTTPcode.c
@@ -2612,7 +2612,8 @@ doHeader:
}
ReplyLen = GetAPRSPageInfo(_REPLYBUFFER, N, S, W, E, aprs, ais, adsb);
- ReplyLen += GetAISPageInfo(&_REPLYBUFFER[ReplyLen], ais, adsb);
+ if (ReplyLen < 240000)
+ ReplyLen += GetAISPageInfo(&_REPLYBUFFER[ReplyLen], ais, adsb);
if (allowDeflate)
Compressed = Compressit(_REPLYBUFFER, ReplyLen, &ReplyLen);