From c2a125347e1487e27525505663d7330a14d5c776 Mon Sep 17 00:00:00 2001 From: Alexander Alashkin Date: Wed, 26 Aug 2015 23:11:21 +0100 Subject: [PATCH] Fix cesanta/dev#909 PUBLISHED_FROM=c27775ecf1ccacfe0c4e8a1f99ef84ac3bfda88f --- fossa.c | 2 +- src/net.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fossa.c b/fossa.c index 3d2de050..d21cc305 100644 --- a/fossa.c +++ b/fossa.c @@ -1598,7 +1598,7 @@ int json_emit(char *buf, int buf_len, const char *fmt, ...) { #define _NS_CALLBACK_MODIFIABLE_FLAGS_MASK \ (NSF_USER_1 | NSF_USER_2 | NSF_USER_3 | NSF_USER_4 | NSF_USER_5 | \ NSF_USER_6 | NSF_WEBSOCKET_NO_DEFRAG | NSF_SEND_AND_CLOSE | NSF_DONT_SEND | \ - NSF_CLOSE_IMMEDIATELY) + NSF_CLOSE_IMMEDIATELY | NSF_IS_WEBSOCKET) #ifndef intptr_t #define intptr_t long diff --git a/src/net.c b/src/net.c index bfb4b252..37fa1c04 100644 --- a/src/net.c +++ b/src/net.c @@ -39,7 +39,7 @@ #define _NS_CALLBACK_MODIFIABLE_FLAGS_MASK \ (NSF_USER_1 | NSF_USER_2 | NSF_USER_3 | NSF_USER_4 | NSF_USER_5 | \ NSF_USER_6 | NSF_WEBSOCKET_NO_DEFRAG | NSF_SEND_AND_CLOSE | NSF_DONT_SEND | \ - NSF_CLOSE_IMMEDIATELY) + NSF_CLOSE_IMMEDIATELY | NSF_IS_WEBSOCKET) #ifndef intptr_t #define intptr_t long