From 5e589824b993300fe1d18d908c89cbd122004e15 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Wed, 26 Jul 2017 11:10:35 +0200 Subject: [PATCH] fixup! GCOAP_REQ_OPTIONS_BUF was way to small 48 is radomly chosen, seems to be a good tradeof of having sufficient space for uri queries while not wasting too much memory --- sys/include/net/gcoap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/include/net/gcoap.h b/sys/include/net/gcoap.h index 977f7806da10..9fc90f0f93a0 100644 --- a/sys/include/net/gcoap.h +++ b/sys/include/net/gcoap.h @@ -242,9 +242,9 @@ extern "C" { * @brief Size of the buffer used to write options, other than Uri-Path, in a * request * - * Accommodates Content-Format. + * Accommodates Content-Format and Uri-Queries */ -#define GCOAP_REQ_OPTIONS_BUF (8) +#define GCOAP_REQ_OPTIONS_BUF (48) /** * @brief Size of the buffer used to write options in a response