summaryrefslogtreecommitdiffstats
path: root/axiom/src/attachments
diff options
context:
space:
mode:
authorGravatar nandika2010-06-09 09:36:56 +0000
committerGravatar nandika2010-06-09 09:36:56 +0000
commit7a59257f0ddc556cf3ce8e2823e8bd524c1cb9eb (patch)
treeb02802db3636efe6352f169cc99057df24ded631 /axiom/src/attachments
parent322a22d5499d52d76b0a8bed8b61f86fd0eab430 (diff)
downloadaxis2c-7a59257f0ddc556cf3ce8e2823e8bd524c1cb9eb.tar.gz
axis2c-7a59257f0ddc556cf3ce8e2823e8bd524c1cb9eb.tar.bz2
AXIOM_MIME_PARSER_END_OF_MIME_MAX_COUNT value increased to 1000 to allow 1000 attachments per request from previous 100.
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@952923 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'axiom/src/attachments')
-rw-r--r--axiom/src/attachments/mime_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/axiom/src/attachments/mime_parser.c b/axiom/src/attachments/mime_parser.c
index 9da9c9f..4954d96 100644
--- a/axiom/src/attachments/mime_parser.c
+++ b/axiom/src/attachments/mime_parser.c
@@ -100,7 +100,7 @@ typedef struct axiom_search_info axiom_search_info_t;
#define AXIOM_MIME_PARSER_CONTENT_ID "content-id"
#define AXIOM_MIME_PARSER_CONTENT_TYPE "content-type"
-#define AXIOM_MIME_PARSER_END_OF_MIME_MAX_COUNT 100
+#define AXIOM_MIME_PARSER_END_OF_MIME_MAX_COUNT 1000
static axis2_char_t *
axiom_mime_parser_search_for_soap(
@@ -725,7 +725,7 @@ axiom_mime_parser_parse_for_attachments(
/* This loop will extract all the attachments in the message. The condition
* with the count is needed because if the sender not marked the end of the
- * attachment wiht -- then this loop may run infinitely. To prevent that
+ * attachment with -- then this loop may run infinitely. To prevent that
* this additional condition has been put */
temp_mime_boundary = axutil_stracat(env, "--", mime_boundary);