commit 5da99c886080f69ae484044e6507f07b99a4dac5
parent b163d849a6d0ac7eec08fd2a7c4b36673620b259
Author: Joris Vink <joris@coders.se>
Date: Thu, 29 Nov 2018 21:01:08 +0100
make sse example great again
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/examples/sse/src/sse.c b/examples/sse/src/sse.c
@@ -91,9 +91,6 @@ subscribe(struct http_request *req)
/* Set a disconnection method so we know when this client goes away. */
req->owner->disconnect = sse_disconnect;
- /* We do not expect any more data to arrive. */
- req->owner->flags |= CONN_READ_BLOCK;
-
/* Allocate a state to be carried by our connection. */
state = kore_malloc(sizeof(*state));
req->owner->hdlr_extra = state;