axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manj...@apache.org
Subject svn commit: r629465 - /webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c
Date Wed, 20 Feb 2008 14:14:01 GMT
Author: manjula
Date: Wed Feb 20 06:14:00 2008
New Revision: 629465

URL: http://svn.apache.org/viewvc?rev=629465&view=rev
Log:
fixed to handle when attachment size greater than
configured handling size.

Modified:
    webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c

Modified: webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c?rev=629465&r1=629464&r2=629465&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c Wed Feb
20 06:14:00 2008
@@ -368,6 +368,10 @@
                                                           axis2_http_transport_utils_on_data_request,
                                                           (void *) callback_ctx,
                                                           mime_boundary);
+                if(!binary_data_map)
+                {
+                    return AXIS2_FAILURE;
+                }
                 soap_body_len =
                     axiom_mime_parser_get_soap_body_len(mime_parser, env);
                 soap_body_str =
@@ -764,7 +768,10 @@
                                                           axis2_http_transport_utils_on_data_request,
                                                           (void *) callback_ctx,
                                                           mime_boundary);
-
+                if(!binary_data_map)
+                {
+                    return AXIS2_FAILURE;
+                }
                 soap_body_len =
                     axiom_mime_parser_get_soap_body_len(mime_parser, env);
                 soap_body_str =
@@ -1816,6 +1823,11 @@
                                                           axis2_http_transport_utils_on_data_request,
                                                           (void *) callback_ctx,
                                                           mime_boundary);
+                if(!binary_data_map)
+                {
+                    return NULL;
+                }
+    
                 soap_body_len =
                     axiom_mime_parser_get_soap_body_len(mime_parser, env);
                 soap_body_str =



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message