forked from aniani/gmnisrv
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;
|
SSL *ssl;
|
||||||
BIO *bio, *sbio;
|
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;
|
size_t bufix, bufln;
|
||||||
|
|
||||||
enum response_state state;
|
enum response_state state;
|
||||||
|
Loading…
Reference in New Issue
Block a user