the mongoose webserver has below define:
struct ctl_msg {
mg_event_handler_t callback;
char message[MG_CTL_MSG_MESSAGE_SIZE];
};
#define MG_CTL_MSG_MESSAGE_SIZE 8192
we want message can dynamic malloc, how can i do??
the mongoose webserver has below define:
struct ctl_msg {
mg_event_handler_t callback;
char message[MG_CTL_MSG_MESSAGE_SIZE];
};
#define MG_CTL_MSG_MESSAGE_SIZE 8192
we want message can dynamic malloc, how can i do??