Re: [OpenWrt-Devel] uhttpd - bugs vs oficial repo

2015-05-30 Thread Maciej Soltysiak
Hi Yousong, Martin,

On Sat, May 30, 2015 at 3:16 PM, Yousong Zhou  wrote:

> Not sure about the above issues reported.  As for the repos' URL, you
> can find them at http://nbd.name/gitweb.cgi
>
>  - It's uhttpd on OpenWrt AA release and before.
>  - It's uhttpd2 on OpenWrt BB and later.
>
> yousong
>
Thank you both. I manged to fix that issue in uhttpd2's git and pass a
preliminary test.
Now to see if this fixes it for the TV.

Best regards,
Maciej
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] uhttpd - bugs vs oficial repo

2015-05-30 Thread Yousong Zhou
Hi, Maciej

On 30 May 2015 at 21:00, Maciej Soltysiak  wrote:
> Hi,
>
> == A bit of background first ==
> My TV fetches an XML from samsung.com every 2 seconds or so.
> I used to trick the TV to get the file from a local server instead.
>
> When I tried hosting the file on openwrt (I'm on trunk) the TV fails to
> handle the HTTP response given by uhttpd. nginx, lighthttpd serve it just
> fine. Yes, TV firmware is not robust, but the bugs are in uhttpd
>
> == Issue ==
> Fildder reports the response given by uhttpd violates HTTP in these ways:
> 1) Content-Length response header MUST NOT be present when Transfer-Encoding
> is used (RFC2616 Section 4.4)
> 2) Content-Length mismatch: Response Header indicated 2.400 bytes, but
> server sent 2412 bytes.
>
> == Question ==
> I'd like to see if I can fix the bug, but I don't know where is the official
> repo for uhttp. Does anyone know?

Not sure about the above issues reported.  As for the repos' URL, you
can find them at http://nbd.name/gitweb.cgi

 - It's uhttpd on OpenWrt AA release and before.
 - It's uhttpd2 on OpenWrt BB and later.

yousong

>
> Best regards,
> Maciej Soltysiak
>
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] uhttpd - bugs vs oficial repo

2015-05-30 Thread Martin Blumenstingl
Hi,

On Sat, May 30, 2015 at 3:00 PM, Maciej Soltysiak  wrote:
> I'd like to see if I can fix the bug, but I don't know where is the official
> repo for uhttp. Does anyone know?
The official uhttpd2 repo is hosted by nbd: [0]


Regards,
Martin


[0] http://nbd.name/gitweb.cgi?p=uhttpd2.git;a=summary
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] uhttpd - bugs vs oficial repo

2015-05-30 Thread Maciej Soltysiak
Hi,

== A bit of background first ==
My TV fetches an XML from samsung.com every 2 seconds or so.
I used to trick the TV to get the file from a local server instead.

When I tried hosting the file on openwrt (I'm on trunk) the TV fails to
handle the HTTP response given by uhttpd. nginx, lighthttpd serve it just
fine. Yes, TV firmware is not robust, but the bugs are in uhttpd

== Issue ==
Fildder reports the response given by uhttpd violates HTTP in these ways:
1) Content-Length response header MUST NOT be present when
Transfer-Encoding is used (RFC2616 Section 4.4)
2) Content-Length mismatch: Response Header indicated 2.400 bytes, but
server sent 2412 bytes.

== Question ==
I'd like to see if I can fix the bug, but I don't know where is the
official repo for uhttp. Does anyone know?

Best regards,
Maciej Soltysiak
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel