do not reset .notify_write on request done
authorFelix Fietkau <nbd@openwrt.org>
Tue, 22 Jan 2013 09:25:19 +0000 (10:25 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 22 Jan 2013 09:25:23 +0000 (10:25 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
client.c

index 7604d7ed5d7592782f606f78b7c96b8d71b8b0b7..3163afcca557612fdaf41bc687f1ca58d4cae00d 100644 (file)
--- a/client.c
+++ b/client.c
@@ -110,7 +110,6 @@ void uh_request_done(struct client *cl)
 {
        uh_chunk_eof(cl);
        uh_dispatch_done(cl);
-       cl->us->notify_write = NULL;
        memset(&cl->dispatch, 0, sizeof(cl->dispatch));
 
        if (!conf.http_keepalive || cl->request.connection_close)