busybox httpd protocol violation
Julien MARBACH
jmarbach at quelisid.com
Thu Jan 26 15:37:46 UTC 2006
Paul Fox wrote:
> > Hello there,
> > It seems that the httpd of busybox 1.0 violates the HTTP protocol when
> > transmitting the status line. According to the RFC of HTTP1.1 the status
> > line must be terminated by CRLF , wich is coded with a "\r\n" sequence
> > in C. But busybox httpd just send a "\n" at the end of the status line.
>
> is this the same as bug 186?
> http://bugs.busybox.net/view.php?id=186
>
Yes that seems to be the same bug.
Julien.
> paul
>
> >
> > This is not a problem most of the time, very few clients raise an error
> > on this but some does : I'm currently using Micro$oft visual studio and
> > when I try to GET a wsdl file from my busybox httpd, Visual studio
> > complains about a protocol violation on the status-line and refuses to
> > get the file. I've sniffed the HTTP packets with ethereal and I spotted
> > the missing \r in the status line. The rest of the HTTP header is OK.
> >
> > I think this is a problem of the different signification of \n in
> > widows and linux environments, but \r\n has the same meaning in both of
> > them.
> >
> > What do you think?
> >
> > Regards,
> >
> > Julien
> >
> > _______________________________________________
> > busybox mailing list
> > busybox at busybox.net
> > http://busybox.net/cgi-bin/mailman/listinfo/busybox
>
> =---------------------
> paul fox, pgf at brightstareng.com
>
>
More information about the busybox
mailing list