Increased socket size to fix fs chunking
This commit is contained in:
committed by
Rune Harlyk
parent
26c187a480
commit
4fa3939209
@@ -43,6 +43,7 @@ class CommAdapterBase {
|
||||
|
||||
pb_ostream_t stream = pb_ostream_from_buffer(buffer_, sizeof(buffer_));
|
||||
if (!pb_encode(&stream, socket_message_Message_fields, &msg_)) {
|
||||
ESP_LOGE("ProtoComm", "Failed to encode message (tag %d), buffer too small?", (int)tag);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <functional>
|
||||
#include <map>
|
||||
|
||||
#define PROTO_BUFFER_SIZE 512
|
||||
#define PROTO_BUFFER_SIZE 2048 // Increased for chunked file transfer responses
|
||||
|
||||
template <typename T>
|
||||
struct MessageTraits;
|
||||
|
||||
Reference in New Issue
Block a user