RTSP stack overflow

This commit is contained in:
philippe44
2020-02-19 11:15:23 -08:00
parent b9de51a125
commit aa6c0fcf95

View File

@@ -43,7 +43,7 @@
#include "dmap_parser.h"
#include "log_util.h"
#define RTSP_STACK_SIZE (8*1024)
#define RTSP_STACK_SIZE (9*1024)
#define SEARCH_STACK_SIZE (2*1048)
typedef struct raop_ctx_s {
@@ -692,10 +692,10 @@ void abort_rtsp(raop_ctx_t *ctx) {
ctx->active_remote.joiner = xTaskGetCurrentTaskHandle();
ctx->active_remote.running = false;
xSemaphoreTake(ctx->active_remote.destroy_mutex, portMAX_DELAY);
xSemaphoreTake(ctx->active_remote.destroy_mutex, portMAX_DELAY);
vTaskDelete(ctx->active_remote.thread);
vSemaphoreDelete(ctx->active_remote.thread);
heap_caps_free(ctx->active_remote.xTaskBuffer);
memset(&ctx->active_remote, 0, sizeof(ctx->active_remote));