You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Sander Striker <st...@apache.org> on 2001/09/18 23:12:10 UTC

Neon and APR WAS: RE: tmpfile callback problems.

> From: Greg Stein [mailto:gstein@lyra.org]
> Sent: 19 September 2001 00:40

[...]
>> An apr_file_t can't be
>> (portably) morphed into anything useful to neon AFAIK.
> 
> Actually, you can... look at the (misnamed) apr_portable.h header file.
> There is a way to get the file descriptor out of the apr_file_t.
> 
> However, I suspect that will return the HANDLE on Windows, which will be
> wrong for Neon. Need to look a bit more.
> 
> Time for that use-APR-in-Neon patch :-)

Well, I'll take that task*, together with getting client auth ssl working
in subversion (currently I tripped over another segv in mod_ssl :( ).

*) If people want me to.  Joe, Greg, thoughts?

Sander



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Neon and APR WAS: RE: tmpfile callback problems.

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Wed, Sep 19, 2001 at 01:53:31AM +0200, Sander Striker wrote:
> Well, I was thinking something more radical: use of pools, registering
> cleanups etc.  The temp file problem being solved is just a side-effect
> of consistent usage of apr.  If this is too much, I'll go and do something
> else.  This just seemed a good project to get into the inner workings of
> neon aswell :)

Mmmm, yeah, that sounds *way* too radical for me :)

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Neon and APR

Posted by Greg Stein <gs...@lyra.org>.
On Wed, Sep 19, 2001 at 12:45:27AM +0100, Joe Orton wrote:
> On Wed, Sep 19, 2001 at 01:12:10AM +0200, Sander Striker wrote:
> > > Time for that use-APR-in-Neon patch :-)
> > 
> > Well, I'll take that task*, together with getting client auth ssl working
> > in subversion (currently I tripped over another segv in mod_ssl :( ).
> > 
> > *) If people want me to.  Joe, Greg, thoughts?
> 
> Personally I'm not that interested in seeing neon use APR, though I
> might apply a patch if it's squeaky clean

Well, of course it would be :-)

> and I can be convinced there are no licensing issues

There are no compatibility problems between the ASF license and the (L)GPL.

> (it will of course have to be an optional layer;
> neon will always work without APR). It would mean more complexity, and
> in this case, only to work around a deeper API issue, the need for this
> temp file in the first place.

I've been mentioning it for about a year now. It would solve quite a few
portability things; not just the temp file issue.

As with Sander, I'd see a broad use of the various APR types such as pools,
hash tables, files, and sockets.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

RE: Neon and APR WAS: RE: tmpfile callback problems.

Posted by Sander Striker <st...@apache.org>.
> From: Joe Orton [mailto:joe@manyfish.co.uk]
> Sent: 19 September 2001 01:45
> On Wed, Sep 19, 2001 at 01:12:10AM +0200, Sander Striker wrote:
> > > Time for that use-APR-in-Neon patch :-)
> > 
> > Well, I'll take that task*, together with getting client auth 
> ssl working
> > in subversion (currently I tripped over another segv in mod_ssl :( ).
> > 
> > *) If people want me to.  Joe, Greg, thoughts?
> 
> Personally I'm not that interested in seeing neon use APR, though I
> might apply a patch if it's squeaky clean and I can be convinced there
> are no licensing issues (it will of course have to be an optional layer;
> neon will always work without APR). It would mean more complexity, and
> in this case, only to work around a deeper API issue, the need for this
> temp file in the first place.
> 
> joe

Well, I was thinking something more radical: use of pools, registering
cleanups etc.  The temp file problem being solved is just a side-effect
of consistent usage of apr.  If this is too much, I'll go and do something
else.  This just seemed a good project to get into the inner workings of
neon aswell :)

Sander


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Neon and APR WAS: RE: tmpfile callback problems.

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Wed, Sep 19, 2001 at 01:12:10AM +0200, Sander Striker wrote:
> > Time for that use-APR-in-Neon patch :-)
> 
> Well, I'll take that task*, together with getting client auth ssl working
> in subversion (currently I tripped over another segv in mod_ssl :( ).
> 
> *) If people want me to.  Joe, Greg, thoughts?

Personally I'm not that interested in seeing neon use APR, though I
might apply a patch if it's squeaky clean and I can be convinced there
are no licensing issues (it will of course have to be an optional layer;
neon will always work without APR). It would mean more complexity, and
in this case, only to work around a deeper API issue, the need for this
temp file in the first place.

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org