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/02/20 15:14:01 UTC
svn commit: r629465 -
/webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c
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