AV-98-fork

A fork of https://tildegit.org/solderpunk/AV-98
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 78e0134c8a9d7450412606a399caee9781d9f9a4
parent 0b79cd174fa38e6267986054f87c0f2c3446396d
Author: jprjr <jprpr@tilde.club>
Date:   Sat, 16 May 2020 13:59:05 +0000

spec states meta max length is 1024

Diffstat:
Mav98.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/av98.py b/av98.py @@ -366,7 +366,7 @@ Slow internet connection? Use 'set timeout' to be more patient.""") # Validate header status, meta = header.split(maxsplit=1) - if len(header) > 1024 or len(status) != 2 or not status.isnumeric(): + if len(meta) > 1024 or len(status) != 2 or not status.isnumeric(): print("ERROR: Received invalid header from server!") f.close() return