[BusyBox] httpd patches
Vladimir N. Oleynik
dzo at simtreas.ru
Wed Apr 2 05:25:24 UTC 2003
Glenn,
> > -static const char home[] = "/www";
> > +static const char home[] = "./";
> >
> > Why?
>
> This was mainly for compatibility with the first release so it wouldn't
> break when folks upgrade.
Initial versions is full broken. I think, folks can`t usagibg this.
Also, usaging as
$ cd wwwroot; httpd
very strange for initscripts...
> > I found restore old algorithms for addEnvCgi(), base64ToBin[] and many
> > others :(
>
> addEnvCgi() I didn't change unless it was formatting.
Its FALSE!
> base64ToBin() was broken for certain combinations of input.
Please get to me your test. I think, you testing not last cvs version!
> Rather than
> debug the new version I put in the old one. The old one was smaller code
> size
Its FALSE!
> and many times faster.
Its true, but busybox politics for size vs speed is to smallest size.
Base64tobin don`t require strong CPU usaging.
> The sorting is still there and should behave the same as your version. I
> wrote my regression test before I made changes so I could insure it
> behaved the same before and after. To simplify the sorting, I impose a
> slight trick - D: rules are converted to d:, a:/A: is converted to A: and
> D:* is converted to X:. This results in a simple search that keys off the
> first letter but results in the desired order of ./dAX. As a result much
> of the special checking is not needed so I just insert items into an
> ordered list as they are read.
Hmm.
You removed
-A shortes path and D:from[^*] automaticaly sorting to top.
-All longest path can`t reset user:password if shorted protect setted.
I added this for up security. This "checks" don`t have addition code size.
I like your correcions for spell english.
But others changes very unlike.
Please restore previous default config settings (yes->no),
if this require for testing, you can compile with -DDEBUG and this
automatic switch on all features.
For other changes, I haven`t tests for demonstrating problems in my version.
--w
vodz
More information about the busybox
mailing list