apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: apr_generate_random_bytes() blocks forever
Date Thu, 17 Apr 2003 09:01:11 GMT
On Wed, Apr 16, 2003 at 10:50:17AM +0100, David Reid wrote:
>...
> > Subversion, right now, needs to generate some poor-quality
> > pseudorandom bits, and it *cannot* block.  Yes, it's a bit unusual,
> > but not an outrageous request.
> 
> Are you sure? Once more it's altering apr to accomodate SVN. APR should do
> the right thing in all situations. APR is a general purpose library, not a
> place to add svn specific functionality.

Get off it already. APR has two major/real customers right now: httpd and
svn. Find some more before you start in on the "wah wah. this should only be
general purpose."

It could very well be that when you *do* get more people using APR, they
will want exactly the same functionality. You just don't have the data to
support that apps *don't* want it. SVN is a data point that an app *does*.

And all that said, it isn't even that SVN is asking for pseudo-random. It is
apr-util via its UUID generation code. SVN is simply asking for a UUID.

Cheers,
-g

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

Mime
View raw message