forked from aniani/gmnisrv
Turns out BUFSIZ is small sometimes
This commit is contained in:
parent
48f75abcfd
commit
d4d8ea646c
@ -26,8 +26,7 @@ struct gmnisrv_client {
|
|||||||
SSL *ssl;
|
SSL *ssl;
|
||||||
BIO *bio, *sbio;
|
BIO *bio, *sbio;
|
||||||
|
|
||||||
char buf[BUFSIZ];
|
char buf[BUFSIZ < GEMINI_MAX_URL + 3 ? GEMINI_MAX_URL + 3 : BUFSIZ];
|
||||||
static_assert(BUFSIZ >= GEMINI_MAX_URL + 3);
|
|
||||||
size_t bufix, bufln;
|
size_t bufix, bufln;
|
||||||
|
|
||||||
enum response_state state;
|
enum response_state state;
|
||||||
|
Loading…
Reference in New Issue
Block a user