diff options
author | June McEnroe <june@causal.agency> | 2020-02-25 17:25:12 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-25 17:26:57 -0500 |
commit | 34ac9ab3027ad017a4335198f168a03064289241 (patch) | |
tree | 21902e1fabe8fd615ed01844b30735c562eb0f42 /server.c | |
parent | Remove bad assert (diff) | |
download | pounce-34ac9ab3027ad017a4335198f168a03064289241.tar.gz pounce-34ac9ab3027ad017a4335198f168a03064289241.zip |
Bump buffer sizes to allow for tags
I still think this limit is unreasonably large in comparison to 512 for the actual message.
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c index 2bb897d..1741f14 100644 --- a/server.c +++ b/server.c @@ -149,7 +149,7 @@ void serverFormat(const char *format, ...) { } void serverRecv(void) { - static char buf[4096]; + static char buf[MessageCap]; static size_t len; ssize_t read = tls_read(client, &buf[len], sizeof(buf) - len); |