Skip to content
Snippets Groups Projects
Commit a54b3cf3 authored by deuce's avatar deuce
Browse files

Disable keep-alives if headers sent in fast mode... content-length is

unknown when the headers are written.
parent a212a392
No related branches found
No related tags found
No related merge requests found
......@@ -2464,6 +2464,7 @@ js_write(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
if(JSVAL_IS_BOOLEAN(val) && JSVAL_TO_BOOLEAN(val)) {
if(!ssjs_send_headers(session))
return(JS_FALSE);
session->req.keep_alive=FALSE;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment