Skip to content

Commit

Permalink
sys/include/net/gcoap: add proxy thread stack size
Browse files Browse the repository at this point in the history
  • Loading branch information
mariemC committed Apr 22, 2024
1 parent 3cd83c7 commit d5c83d8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions sys/include/net/gcoap/forward_proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,20 @@ extern "C" {
#endif
/** @} */

/**
* @brief Stack size for the forward proxy thread
*
*/
#define PROXY_STACK_SIZE (THREAD_STACKSIZE_DEFAULT + DEBUG_EXTRA_STACKSIZE \
+ sizeof(coap_pkt_t) + GCOAP_DTLS_EXTRA_STACKSIZE)

/**
* @brief Definition of forward proxy thread msgs.
*/
enum {
FORWARD_PROXY_MSG_SEND,
};

/**
* @brief Registers a listener for forward proxy operation
*/
Expand Down

0 comments on commit d5c83d8

Please sign in to comment.