]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_amqp] Increase max command size
authormahald <mahald@users.noreply.github.com>
Fri, 27 Aug 2021 15:48:32 +0000 (17:48 +0200)
committerGitHub <noreply@github.com>
Fri, 27 Aug 2021 15:48:32 +0000 (18:48 +0300)
src/mod/event_handlers/mod_amqp/mod_amqp_command.c

index f467001f3d74c90e215ff498ae6117e1392c996b..c98c123c07002343bf7cadd5fe5bf800dabc5b68 100644 (file)
@@ -387,7 +387,7 @@ void * SWITCH_THREAD_FUNC mod_amqp_command_thread(switch_thread_t *thread, void
                        amqp_rpc_reply_t res;
                        amqp_envelope_t envelope;
                        struct timeval timeout = {0};
-                       char command[1024];
+                       char command[10240];
                        enum ECommandFormat {
                                COMMAND_FORMAT_UNKNOWN,
                                COMMAND_FORMAT_PLAINTEXT