Using session capabilities to enable compression now
This commit is contained in:
@@ -495,7 +495,7 @@ function headerStringToObj(headers, response = false) {
|
|||||||
return headers_obj;
|
return headers_obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function sendToClient(socket, headers_obj, data, compress_data = false) {
|
async function sendToClient(socket, headers_obj, data) {
|
||||||
var headers = "";
|
var headers = "";
|
||||||
if (typeof (data) === 'undefined') data = '';
|
if (typeof (data) === 'undefined') data = '';
|
||||||
if (typeof (headers_obj) === 'string') {
|
if (typeof (headers_obj) === 'string') {
|
||||||
|
|||||||
Reference in New Issue
Block a user