summaryrefslogtreecommitdiffstats
path: root/src/core/transport/http
diff options
context:
space:
mode:
authorGravatar shankar2010-02-24 05:30:01 +0000
committerGravatar shankar2010-02-24 05:30:01 +0000
commiteaa95a5ee171f953b24ac4035cf9666b2ab634c7 (patch)
treea87f607e78f09a12b2ee886aec47ef53af84a806 /src/core/transport/http
parent029c3ad67068304b1f67af7a8fa7dd557c2857ba (diff)
downloadaxis2c-eaa95a5ee171f953b24ac4035cf9666b2ab634c7.tar.gz
axis2c-eaa95a5ee171f953b24ac4035cf9666b2ab634c7.tar.bz2
changing strcasecmp to axutil_strcasecmp. Check AXIS2C-924 for more details
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@915678 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/core/transport/http')
-rw-r--r--src/core/transport/http/server/apache2/apache2_worker.c20
-rw-r--r--src/core/transport/http/server/apache2/mod_axis2.c14
2 files changed, 17 insertions, 17 deletions
diff --git a/src/core/transport/http/server/apache2/apache2_worker.c b/src/core/transport/http/server/apache2/apache2_worker.c
index 12b05b2..a13e64a 100644
--- a/src/core/transport/http/server/apache2/apache2_worker.c
+++ b/src/core/transport/http/server/apache2/apache2_worker.c
@@ -530,28 +530,28 @@ axis2_apache2_worker_process_request(
i));
temp += strlen(temp);
/* Conditions below is to assist down-stream modules */
- if(!strcasecmp(AXIS2_HTTP_PUT, (axis2_char_t *)axutil_array_list_get(
+ if(!axutil_strcasecmp(AXIS2_HTTP_PUT, (axis2_char_t *)axutil_array_list_get(
method_list, env, i)))
{
request->allowed_methods->method_mask |= AP_METHOD_BIT << M_PUT;
}
- else if(!strcasecmp(AXIS2_HTTP_POST, (axis2_char_t *)axutil_array_list_get(
+ else if(!axutil_strcasecmp(AXIS2_HTTP_POST, (axis2_char_t *)axutil_array_list_get(
method_list, env, i)))
{
request->allowed_methods->method_mask |= AP_METHOD_BIT << M_POST;
}
- else if(!strcasecmp(AXIS2_HTTP_GET, (axis2_char_t *)axutil_array_list_get(
+ else if(!axutil_strcasecmp(AXIS2_HTTP_GET, (axis2_char_t *)axutil_array_list_get(
method_list, env, i)))
{
request->allowed_methods->method_mask |= AP_METHOD_BIT << M_GET;
}
- else if(!strcasecmp(AXIS2_HTTP_HEAD, (axis2_char_t *)axutil_array_list_get(
+ else if(!axutil_strcasecmp(AXIS2_HTTP_HEAD, (axis2_char_t *)axutil_array_list_get(
method_list, env, i)))
{
/* Apache Can't differentiate between HEAD and GET */
request->allowed_methods->method_mask |= AP_METHOD_BIT << M_GET;
}
- else if(!strcasecmp(AXIS2_HTTP_DELETE,
+ else if(!axutil_strcasecmp(AXIS2_HTTP_DELETE,
(axis2_char_t *)axutil_array_list_get(method_list, env, i)))
{
request->allowed_methods->method_mask |= AP_METHOD_BIT << M_DELETE;
@@ -677,28 +677,28 @@ axis2_apache2_worker_process_request(
i));
temp += strlen(temp);
/* Conditions below is to assist down-stream modules */
- if(!strcasecmp(AXIS2_HTTP_PUT, (axis2_char_t *)axutil_array_list_get(
+ if(!axutil_strcasecmp(AXIS2_HTTP_PUT, (axis2_char_t *)axutil_array_list_get(
method_list, env, i)))
{
request->allowed_methods->method_mask |= AP_METHOD_BIT << M_PUT;
}
- else if(!strcasecmp(AXIS2_HTTP_POST, (axis2_char_t *)axutil_array_list_get(
+ else if(!axutil_strcasecmp(AXIS2_HTTP_POST, (axis2_char_t *)axutil_array_list_get(
method_list, env, i)))
{
request->allowed_methods->method_mask |= AP_METHOD_BIT << M_POST;
}
- else if(!strcasecmp(AXIS2_HTTP_GET, (axis2_char_t *)axutil_array_list_get(
+ else if(!axutil_strcasecmp(AXIS2_HTTP_GET, (axis2_char_t *)axutil_array_list_get(
method_list, env, i)))
{
request->allowed_methods->method_mask |= AP_METHOD_BIT << M_GET;
}
- else if(!strcasecmp(AXIS2_HTTP_HEAD, (axis2_char_t *)axutil_array_list_get(
+ else if(!axutil_strcasecmp(AXIS2_HTTP_HEAD, (axis2_char_t *)axutil_array_list_get(
method_list, env, i)))
{
/* Apache Can't differentiate between HEAD and GET */
request->allowed_methods->method_mask |= AP_METHOD_BIT << M_GET;
}
- else if(!strcasecmp(AXIS2_HTTP_DELETE,
+ else if(!axutil_strcasecmp(AXIS2_HTTP_DELETE,
(axis2_char_t *)axutil_array_list_get(method_list, env, i)))
{
request->allowed_methods->method_mask |= AP_METHOD_BIT << M_DELETE;
diff --git a/src/core/transport/http/server/apache2/mod_axis2.c b/src/core/transport/http/server/apache2/mod_axis2.c
index d8ff23f..4da15d9 100644
--- a/src/core/transport/http/server/apache2/mod_axis2.c
+++ b/src/core/transport/http/server/apache2/mod_axis2.c
@@ -260,31 +260,31 @@ axis2_set_log_level(
str = ap_getword_conf(cmd->pool, &arg);
if(str)
{
- if(!strcasecmp(str, "crit"))
+ if(!axutil_strcasecmp(str, "crit"))
{
level = AXIS2_LOG_LEVEL_CRITICAL;
}
- else if(!strcasecmp(str, "error"))
+ else if(!axutil_strcasecmp(str, "error"))
{
level = AXIS2_LOG_LEVEL_ERROR;
}
- else if(!strcasecmp(str, "warn"))
+ else if(!axutil_strcasecmp(str, "warn"))
{
level = AXIS2_LOG_LEVEL_WARNING;
}
- else if(!strcasecmp(str, "info"))
+ else if(!axutil_strcasecmp(str, "info"))
{
level = AXIS2_LOG_LEVEL_INFO;
}
- else if(!strcasecmp(str, "debug"))
+ else if(!axutil_strcasecmp(str, "debug"))
{
level = AXIS2_LOG_LEVEL_DEBUG;
}
- else if(!strcasecmp(str, "user"))
+ else if(!axutil_strcasecmp(str, "user"))
{
level = AXIS2_LOG_LEVEL_USER;
}
- else if(!strcasecmp(str, "trace"))
+ else if(!axutil_strcasecmp(str, "trace"))
{
level = AXIS2_LOG_LEVEL_TRACE;
}