Re: Problem with httpd and POST data for cgi, and patch

2007-10-12 Thread Ralf Friedl
Hi I just found out that my previous patch only works for POST data smaller that hdr_buf. This patch should also work for larger POST data. > I found a problem with httpd and POST data for cgi programs. > > get_line() is used to read the header. This function uses hdr_buf with > hdr_ptr and hdr_

Re: kbd_mode

2007-10-12 Thread Loïc Grenié
2007/10/12, Bernhard Fischer <[EMAIL PROTECTED]>: > On Thu, Oct 11, 2007 at 09:49:42PM +0200, Loïc Grenié wrote: > > This patch to add a kbd_mode applet. > > You forgot to actually attach it.. Sorry... Loïc Index: console-tools/Config.in

Problem with httpd and POST data for cgi, and patch

2007-10-12 Thread Ralf Friedl
Hi I found a problem with httpd and POST data for cgi programs. get_line() is used to read the header. This function uses hdr_buf with hdr_ptr and hdr_cnt to keep track of the current position. For cgi programs cgi_io_loop_and_exit() is called to transfer the POST data to the cgi and the resul

Re: [PATCH] httpd: request file range support

2007-10-12 Thread Chris Paulson-Ellis
Denys Vlasenko wrote: > On Friday 12 October 2007 09:41, Chris Paulson-Ellis wrote: >> This patch adds a new FEATURE_HTTPD_RANGE supporting partial file downloads, >> requested with the HTTP Range header > svn already contains support for ranges in httpd. I looked for this functionality in the l

Re: libbusybox is back; "individual" mode is introduced

2007-10-12 Thread Bernhard Fischer
On Thu, Oct 11, 2007 at 06:49:07PM +0100, Denys Vlasenko wrote: >On Thursday 11 October 2007 15:23, Bernhard Fischer wrote: >> >I looked into making libbusybox.so executanle itself, but >> >it looks like that needs a lot of linker magic for questionable >> >gain - I can have tiny (less than 3k) "bu

Re: Unable to mount root fs on unknown-block(202,3)

2007-10-12 Thread Luciano Rocha
On Fri, Oct 12, 2007 at 11:53:20AM +0530, Rajeev Bansal wrote: > Hello All, > > I am trying to build a custom initrd using the busybox. In my initrd I > have modified the /sbin/init to a init script which I am mentioning below, Initramfs uses /init, not /sbin/init (that's old-style initrd, wher

Re: [PATCH] httpd: request file range support

2007-10-12 Thread Denys Vlasenko
On Friday 12 October 2007 09:41, Chris Paulson-Ellis wrote: > This patch adds a new FEATURE_HTTPD_RANGE supporting partial file downloads, > requested with the HTTP Range header. > > I have tested all 4 combinations of FEATURE_HTTPD_RANGE & > FEATURE_HTTPD_USE_SENDFILE. httpd with your patch se

Re: Unable to mount root fs on unknown-block(202,3)

2007-10-12 Thread Denys Vlasenko
On Friday 12 October 2007 07:23, Rajeev Bansal wrote: > Hello All, > > I am trying to build a custom initrd using the busybox. In my initrd I > have modified the /sbin/init to a init script which I am mentioning below, > > #!/bin/sh -e > # Set up filesystem as root and pivot into it. ... It's

Re: cramfs optimization ...

2007-10-12 Thread Denys Vlasenko
On Friday 12 October 2007 05:18, satish kumar wrote: > hi all, > iam trying to implement readpages instead of readpage for cramfs > ... is anybody dng same ?? > > how to improve cramfs readpage?.. It's a kernel question. You will get more attention on kernel mailing list. -- vda __

[PATCH] httpd: request file range support

2007-10-12 Thread Chris Paulson-Ellis
This patch adds a new FEATURE_HTTPD_RANGE supporting partial file downloads, requested with the HTTP Range header. I have tested all 4 combinations of FEATURE_HTTPD_RANGE & FEATURE_HTTPD_USE_SENDFILE. Regards, Chris. --- --- busybox-1.7.2/networking/Config.in.orig 2007-09-03 12:48:27.