summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar samisa2011-08-29 10:54:57 +0000
committerGravatar samisa2011-08-29 10:54:57 +0000
commitc45a19e8b2b2dab5dd73f74ba2bfb9f91fda2742 (patch)
tree4ea1a48ffc4c74e0a68aacdd8cafe17ef9f93232 /src
parentf14321f87f76c183693e0ed3f72adbd29d38c7a3 (diff)
downloadaxis2c-c45a19e8b2b2dab5dd73f74ba2bfb9f91fda2742.tar.gz
axis2c-c45a19e8b2b2dab5dd73f74ba2bfb9f91fda2742.tar.bz2
fixing the peek to support SSL by applying patch given in AXIS2C-1556.
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1162726 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/core/transport/http/common/simple_http_svr_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transport/http/common/simple_http_svr_conn.c b/src/core/transport/http/common/simple_http_svr_conn.c
index a68c48e..958be28 100644
--- a/src/core/transport/http/common/simple_http_svr_conn.c
+++ b/src/core/transport/http/common/simple_http_svr_conn.c
@@ -421,7 +421,7 @@ axis2_simple_http_svr_conn_read_line(
int read = -1;
/* peek for 2047 characters to verify whether it contains CRLF character */
- while((read = axutil_stream_peek_socket(svr_conn->stream, env, tmp_buf, 2048 - 1)) > 0)
+ while((read = axutil_stream_peek(svr_conn->stream, env, tmp_buf, 2048 - 1)) > 0)
{
axis2_char_t *start = tmp_buf;
axis2_char_t *end = NULL;