re-enabled keep-alive
Costa Tsaousis committed
May 13, 2016 at 04:19 UTC
a201e4637ad7735b559314a8bffdc4a3f7b09ba5
1 file changed
+1
-1
src/web_client.c
+1
-1
@@ -1214,7 +1214,7 @@ static inline char *http_header_parse(struct web_client *w, char *s) {
1214
strncpy(w->origin, v, ORIGIN_MAX);
1215
}
1216
else if(!strcasecmp(s, "Connection")) {
1217
- if(!strcasestr(v, "keep-alive"))
1217
+ if(strcasestr(v, "keep-alive"))
1218
w->keepalive = 1;
1219
}
1220
#ifdef NETDATA_WITH_ZLIB