[BusyBox] Query regarding HTTPD File Uploading
conn intel
connintel at gmail.com
Sat Mar 29 07:11:04 PDT 2008
Dear Denys Vlasenko,
Please find the attached file "FileUpload.raw", packet log using wireshark.
I have taken log from PC host, and tried to upload a file with name "
music.bmp" having size around 18 KB. Its still uploads 4KB with one stroke
and delays the upload process.
Also can you please elaborate more on following. how can I use it and where
?
"#!/bin/sh
printf '\r\n'
cat >/tmp/POSTDATA "
Let me know if you need further information.
Also Find the same log "FileUpload.raw" at
http://www.2shared.com/file/3061033/9fd8b506/Fileupload.html
Thank you,
Ankur.
Information:
192.168.0.238 - Embedded Board running with busybox 1.9.2
192.168.0.88 - PC host running debian
On Mon, Mar 17, 2008 at 6:29 PM, Denys Vlasenko <vda.linux at googlemail.com>
wrote:
> On Thursday 13 March 2008 11:21, conn intel wrote:
> > Dear Friends,
> >
> > I looked into busybox-1.7.1/networking/httpd.c and found that increasing
> > value of "hdr_buf" may speed up the process of file uploading. It has
> > following value using debug statement in the code:
> >
> > fprintf(stdout,"The value of hdr_buf=%ld %d
> > \n",hdr_buf,(int)sizeof(hdr_buf));
> >
> > output on webpage:
> >
> > The value of hdr_buf=807028 4096
> >
> >
> > If I try to increase the value, httpd shows "400 Bad Request". Can
> anyone
> > has some suggestions on it.
>
> httpd had some significant fixes in 1.8.0.
>
> Can you try 1.9.1 + this fix?
>
> http://busybox.net/downloads/fixes-1.9.1/busybox-1.9.1-httpd-POST.patch
> --
> vda
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/busybox/attachments/20080329/196211e0/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Fileupload.raw
Type: application/octet-stream
Size: 23355 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20080329/196211e0/attachment-0001.obj
More information about the busybox
mailing list