Re: [OpenWrt-Devel] uhttpd: chunked output from cgi script

2015-10-08 Thread Luigi Tarenga
thank you Jow for the promptly feedback. I tried to better understand the problem and now I'm reading at your commit. My patch works but is logically broken. I'm trying to produce a better one. If I'm not wrong the problem is this (without applying your commit): the client request handling code

Re: [OpenWrt-Devel] uhttpd: chunked output from cgi script

2015-10-08 Thread Luigi Tarenga
n advance Luigi On 10/08/2015 12:47 PM, Luigi Tarenga wrote: I'm going to try a new simple patch and then your suggested one. I will update you. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/l

[OpenWrt-Devel] uhttpd: chunked output from cgi script

2015-10-07 Thread Luigi Tarenga
Hello list, I'm working on a CGI written in lua and I'm using uhttpd as webserver on a tp-link AP. I'm using external CGI interpreter, not embedded lua. I need that the output from my CGI is chunked since I would like to avoid to buffer the whole response and calculate the "Content-Length".

[OpenWrt-Devel] [PATCH v4] add support for TL-WA701ND v2

2015-01-20 Thread Luigi Tarenga
Signed-off-by: Luigi Tarenga luigi.tare...@gmail.com --- version 4. this version is against trunk. version 3 was against BB (sorry I forgot to work on correct branch). I retested flashing from BB using mtd and from the stock firmware. thanks for your help and patience Luigi --- target/linux

[OpenWrt-Devel] [PATCH v2] [ar71xx] add support for TP-LINK TL-WA701ND v2

2015-01-19 Thread Luigi Tarenga
add support for TP-LINK TL-WA701ND v2 Signed-off-by: Luigi Tarenga luigi.tare...@gmail.com --- new attempt. I removed the refactoring portion in previous version and corrected the diff stat. I hope this time it's fine. regards Luigi --- target/linux/ar71xx/base-files/etc/diag.sh | 1

Re: [OpenWrt-Devel] [PATCH v2] [ar71xx] add support for TP-LINK TL-WA701ND v2

2015-01-19 Thread Luigi Tarenga
On Mon, Jan 19, 2015 at 12:28 PM, Luigi Tarenga luigi.tare...@gmail.com wrote: On Mon, Jan 19, 2015 at 12:21 PM, Yousong Zhou yszhou4t...@gmail.com wrote: On 19 January 2015 at 19:00, Luigi Tarenga luigi.tare...@gmail.com wrote: add support for TP-LINK TL-WA701ND v2 Signed-off-by: Luigi

Re: [OpenWrt-Devel] [PATCH v2] [ar71xx] add support for TP-LINK TL-WA701ND v2

2015-01-19 Thread Luigi Tarenga
On Mon, Jan 19, 2015 at 12:21 PM, Yousong Zhou yszhou4t...@gmail.com wrote: On 19 January 2015 at 19:00, Luigi Tarenga luigi.tare...@gmail.com wrote: add support for TP-LINK TL-WA701ND v2 Signed-off-by: Luigi Tarenga luigi.tare...@gmail.com --- new attempt. I removed the refactoring portion

[OpenWrt-Devel] [PATCH v3] add support for TL-WA701ND v2

2015-01-19 Thread Luigi Tarenga
Signed-off-by: Luigi Tarenga luigi.tare...@gmail.com --- version 3. sent with git send-email to avoid tabs conversion from gmail webmail. crossing fingers :) Luigi --- target/linux/ar71xx/base-files/etc/diag.sh | 1 + .../ar71xx/base-files/etc/uci-defaults/01_leds | 5

[OpenWrt-Devel] [PATCH] ar71xx: add support for TP-LINK TL-WA701ND v2

2015-01-16 Thread Luigi Tarenga
Signed-off-by: Luigi Tarenga luigi.tare...@gmail.com --- I send the patch again, maybe it was not formatted correctly. please let me know if there is any problem in how i send it. regards Luigi --- package/libs/openssl/Makefile | 6 +++--- package/libs/openssl/patches

Re: [OpenWrt-Devel] [PATCH] added support for TL-WA701ND v2

2015-01-13 Thread Luigi Tarenga
There is just one thing I still have to check: return back to original firmware and see if you can upload the factory image in the firmware upgrade toolbox and it pass the hwid/verid checks. I think yes since I used the same values as found in the stock firmware. I will update you in a couple

[OpenWrt-Devel] [PATCH] added support for TL-WA701ND v2

2015-01-13 Thread Luigi Tarenga
0484ab40b5f6783e1e155f46be3afb4a94d41670 : Signed-off-by: Luigi Tarenga luigi.tare...@gmail.com --- diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index fa07f39..eb96338 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files