httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: WWW Form Bug Report: "I can not say that this is a bug, but I " on Solaris 2.x
Date Thu, 09 Jan 1997 17:20:05 GMT

Thanks. It sure looks wrong doesn't it.

cheers,
rob

On Thu, 9 Jan 1997 hunsoo@sensor.kaist.ac.kr wrote:

> Submitter: hunsoo@sensor.kaist.ac.kr
> Operating system: Solaris 2.x, version: 
> Version of Apache Used: apache_1.2b4
> Extra Modules used: 
> URL exhibiting problem: 
> 
> Symptoms:
> --
> I am curious because 
> in http_main.c there are following lines
> 
> ---------------------------
> conn_rec *new_connection (pool *p, server_rec *server, BUFF *inout,
>                           const struct sockaddr_in *remaddr,
>                           const struct sockaddr_in *saddr,
>                           int child_num)
> {
>     conn_rec *conn = (conn_rec *)pcalloc (p, sizeof(conn_rec));
> 
>     /* Get a connection structure, and initialize what fields we can
>      * (the rest are zeroed out by pcalloc).
>      */
> 
>     conn = (conn_rec *)pcalloc(p, sizeof(conn_rec));
>     conn->child_num = child_num;
> 
> ------------------------
> conn was allocated twice. 
> 
> Is that right?  please email me.
> 



Mime
View raw message