You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2008/04/18 11:51:12 UTC
svn commit: r649437 - in /webservices/axis2/trunk/c/src/core/transport/http:
common/http_header.c util/http_transport_utils.c
Author: dinesh
Date: Fri Apr 18 02:50:59 2008
New Revision: 649437
URL: http://svn.apache.org/viewvc?rev=649437&view=rev
Log:
fixed false error log
Modified:
webservices/axis2/trunk/c/src/core/transport/http/common/http_header.c
webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c
Modified: webservices/axis2/trunk/c/src/core/transport/http/common/http_header.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/common/http_header.c?rev=649437&r1=649436&r2=649437&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/common/http_header.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/common/http_header.c Fri Apr 18 02:50:59 2008
@@ -79,7 +79,6 @@
ch = strchr((const char *) tmp_str, AXIS2_COLON);
if (!ch)
{
- AXIS2_HANDLE_ERROR(env, AXIS2_ERROR_INVALID_HEADER, AXIS2_FAILURE);
AXIS2_FREE(env->allocator, tmp_str);
return NULL;
}
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=649437&r1=649436&r2=649437&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 Fri Apr 18 02:50:59 2008
@@ -1839,11 +1839,13 @@
content_length = axutil_property_get_value(property, env);
property = NULL;
}
+
if (content_length)
{
callback_ctx->content_length = *content_length;
callback_ctx->unread_len = *content_length;
}
+
if (!in_stream)
{
AXIS2_HANDLE_ERROR(env, AXIS2_ERROR_NULL_IN_STREAM_IN_MSG_CTX,
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org