Hi again Jow,
I tested another patch of mine (really noobish i know :) )
still against commit: 993cace15114a0f06f720f34a4748ab54b695f0d

--- utils.c    2015-10-08 15:05:01.209195841 +0200
+++ utils.c    2015-10-08 15:04:27.082529799 +0200
@@ -28,10 +28,6 @@
if (cl->request.method == UH_HTTP_MSG_HEAD || cl->request.method == UH_HTTP_MSG_OPTIONS)
         return false;

-    /* RFC2616 10.2.5, 10.3.5 */
-    if (cl->http_code == 204 || cl->http_code == 304)
-        return false;
-
     return true;
 }


and it seems to works for the reasons I tried to explain in my previous mail.

I tested your commit too and it works fine. Much more complete than mine :)
I just ask for a detail because I'm not sure if I understand it correctly:
between 2 request how do you reset cl->request.disable_chunked?
is it done in uh_request_done() with the memset() ???

thank you in 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/listinfo/openwrt-devel

Reply via email to