You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ma...@apache.org on 2008/06/03 11:03:00 UTC

svn commit: r662710 - in /webservices/axis2/branches/c/post_1_4_mtom/c/axiom: include/axiom_mime_parser.h src/attachments/mime_parser.c

Author: manjula
Date: Tue Jun  3 02:02:59 2008
New Revision: 662710

URL: http://svn.apache.org/viewvc?rev=662710&view=rev
Log:
Changing the buffer creation in MBs.

Modified:
    webservices/axis2/branches/c/post_1_4_mtom/c/axiom/include/axiom_mime_parser.h
    webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c

Modified: webservices/axis2/branches/c/post_1_4_mtom/c/axiom/include/axiom_mime_parser.h
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/c/post_1_4_mtom/c/axiom/include/axiom_mime_parser.h?rev=662710&r1=662709&r2=662710&view=diff
==============================================================================
--- webservices/axis2/branches/c/post_1_4_mtom/c/axiom/include/axiom_mime_parser.h (original)
+++ webservices/axis2/branches/c/post_1_4_mtom/c/axiom/include/axiom_mime_parser.h Tue Jun  3 02:02:59 2008
@@ -38,7 +38,7 @@
 {
 #endif
 
-#define AXIOM_MIME_PARSER_BUFFER_SIZE 1024
+#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

Modified: webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c?rev=662710&r1=662709&r2=662710&view=diff
==============================================================================
--- webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c (original)
+++ webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c Tue Jun  3 02:02:59 2008
@@ -1724,7 +1724,7 @@
         if (!ptr)
         {
             AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, 
-                "[rampart][rampart_util] Unable to load the module %s. ERROR", mime_parser->callback_name);
+                "Unable to load the module %s. ERROR", mime_parser->callback_name);
             return NULL;
         }