apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: cvs commit: apr/network_io/win32 sockets.c
Date Fri, 04 Jan 2002 20:11:33 GMT
"Brad Nicholes" <BNICHOLES@novell.com> writes:

>     The problem with apr_accept() and memory pools is that you give it
> a memory pool to allocate the new socket structure from.  The pool isn't
> cleared until after a successful connection is returned by apr_accept()

but that is your choice as the application programmer :)

>                                      Therefore, unless you are clearing
> the pool after every call to apr_accept() (successfull or not) the pool
> that you passed to apr_accept() will continue to grow.

I'm not arguing with you there.

I guess that overall your change to APR sounds reasonable to me.

Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
             Born in Roswell... married an alien...

View raw message