From c45a19e8b2b2dab5dd73f74ba2bfb9f91fda2742 Mon Sep 17 00:00:00 2001 From: samisa Date: Mon, 29 Aug 2011 10:54:57 +0000 Subject: 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 --- src/core/transport/http/common/simple_http_svr_conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') 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; -- cgit v1.1-32-gdbae