kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 78d667abc78c63876cadb9572c9db11951c73ee7
parent a65be853f02665f33476c71033e4f77ba93f8e9a
Author: Joris Vink <joris@coders.se>
Date:   Sun, 20 Feb 2022 21:30:17 +0100

Set socklen to 0 by default in pysocket_async_recv().

Diffstat:
src/python.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/python.c b/src/python.c @@ -3654,6 +3654,8 @@ pysocket_async_recv(struct pysocket_op *op) Py_RETURN_NONE; } + socklen = 0; + for (;;) { switch (op->type) { case PYSOCKET_TYPE_RECV: