commit a46447b1f904f8b752b00c9172c35f3e70c6fcce
parent 6c18856a3e425f321516fac529767e92fe212897
Author: Joris Vink <joris@coders.se>
Date: Wed, 12 Jun 2019 21:09:57 +0200
set hdlr_extra to NULL in pyhttp_iterobj_disconnect.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/python.c b/src/python.c
@@ -3387,8 +3387,8 @@ pyhttp_iterobj_disconnect(struct connection *c)
struct pyhttp_iterobj *iterobj;
iterobj = c->hdlr_extra;
-
iterobj->remove = 1;
+ c->hdlr_extra = NULL;
}
static PyObject *