Skip to content

Commit

Permalink
fixup! GCOAP_REQ_OPTIONS_BUF was way to small
Browse files Browse the repository at this point in the history
48 is radomly chosen, seems to be a good tradeof of having sufficient
space for uri queries while not wasting too much memory
  • Loading branch information
haukepetersen committed Jul 26, 2017
1 parent 479b08b commit 5e58982
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/include/net/gcoap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e58982

Please sign in to comment.