summaryrefslogtreecommitdiffstats
path: root/axiom
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
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')
-rw-r--r--axiom/include/axiom_mime_parser.h2
-rw-r--r--axiom/src/attachments/mime_parser.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/axiom/include/axiom_mime_parser.h b/axiom/include/axiom_mime_parser.h
index b7f4f00..2c86383 100644
--- a/axiom/include/axiom_mime_parser.h
+++ b/axiom/include/axiom_mime_parser.h
@@ -41,7 +41,7 @@ extern "C"
#define AXIOM_MIME_PARSER_BUFFER_SIZE (1024 * 1024/2)
#define AXIOM_MIME_PARSER_MAX_BUFFERS 1000
-#define AXIOM_MIME_PARSER_END_OF_MIME_MAX_COUNT 100
+#define AXIOM_MIME_PARSER_END_OF_MIME_MAX_COUNT 1000
typedef struct axiom_mime_parser axiom_mime_parser_t;
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);