You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by na...@apache.org on 2010/06/09 11:36:57 UTC
svn commit: r952923 - in /axis/axis2/c/core/trunk/axiom:
include/axiom_mime_parser.h src/attachments/mime_parser.c
Author: nandika
Date: Wed Jun 9 09:36:56 2010
New Revision: 952923
URL: http://svn.apache.org/viewvc?rev=952923&view=rev
Log:
AXIOM_MIME_PARSER_END_OF_MIME_MAX_COUNT value increased to 1000 to allow 1000 attachments per request from previous 100.
Modified:
axis/axis2/c/core/trunk/axiom/include/axiom_mime_parser.h
axis/axis2/c/core/trunk/axiom/src/attachments/mime_parser.c
Modified: axis/axis2/c/core/trunk/axiom/include/axiom_mime_parser.h
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/axiom/include/axiom_mime_parser.h?rev=952923&r1=952922&r2=952923&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/axiom/include/axiom_mime_parser.h (original)
+++ axis/axis2/c/core/trunk/axiom/include/axiom_mime_parser.h Wed Jun 9 09:36:56 2010
@@ -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;
Modified: axis/axis2/c/core/trunk/axiom/src/attachments/mime_parser.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/axiom/src/attachments/mime_parser.c?rev=952923&r1=952922&r2=952923&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/axiom/src/attachments/mime_parser.c (original)
+++ axis/axis2/c/core/trunk/axiom/src/attachments/mime_parser.c Wed Jun 9 09:36:56 2010
@@ -100,7 +100,7 @@ typedef struct axiom_search_info axiom_s
#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);