mirror of
https://git.sr.ht/~sircmpwn/gmnisrv
synced 2024-12-04 14:46:42 -05:00
Okay, time to quit fucking around with BUFSIZ
This commit is contained in:
parent
d4d8ea646c
commit
61bc033740
@ -26,7 +26,8 @@ struct gmnisrv_client {
|
||||
SSL *ssl;
|
||||
BIO *bio, *sbio;
|
||||
|
||||
char buf[BUFSIZ < GEMINI_MAX_URL + 3 ? GEMINI_MAX_URL + 3 : BUFSIZ];
|
||||
char buf[4096];
|
||||
static_assert(GEMINI_MAX_URL + 3 < 4096);
|
||||
size_t bufix, bufln;
|
||||
|
||||
enum response_state state;
|
||||
|
Loading…
Reference in New Issue
Block a user