Hi Ben,
this is my code snippet and if I enable the commented line then I get an
Apache error
AH00052: child pid 24982 exit signal Segmentation fault (11)
The snippet:
static apr_status_t do_client_task(apr_socket_t *sock, const char
*filepath, request_rec *r)
{
apr_status_t rv;
On Thu, 2013-05-30 at 00:06 +0200, Graf László wrote:
bufp = apr_palloc(r-pool, len);
bufp = buf;
What is the point of the above code? First some memory is allocated for
bufp, then it is ignored, as bufp actually becomes a pointer to the buf
array...
As for the
Subject: Re: How to convert char[] to char*?
Hi Ben,
this is my code snippet and if I enable the commented line then I get an
Apache error
AH00052: child pid 24982 exit signal Segmentation fault (11)
The snippet:
static apr_status_t do_client_task(apr_socket_t *sock, const char
*filepath
Hi,
I have a handler module which reads the HTTP response from a remote web
server.
In this module I have a
char[] buf
and it contains the bytes red using apr_socket_recv. With
ap_log_perror(APLOG_MARK, APLOG_NOTICE, 0, r-pool,
apr_psprintf(r-pool, %s, buf));
I can see the buf's content
On Mon, May 27, 2013 at 1:21 PM, Graf László gr...@datatrans.hu wrote:
I have a handler module which reads the HTTP response from a remote web
server.
In this module I have a
char[] buf
and it contains the bytes red using apr_socket_recv. With
ap_log_perror(APLOG_MARK, APLOG_NOTICE, 0,