From 39cd2a5ca00a2984bd8970ddf630314c246d3fc0 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Thu, 31 Oct 2013 18:02:12 +0100 Subject: [PATCH] add commented log to check real chunks send to clients --- web/Obj/transports.phh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/Obj/transports.phh b/web/Obj/transports.phh index 5ebfec4..5f269d7 100644 --- a/web/Obj/transports.phh +++ b/web/Obj/transports.phh @@ -203,6 +203,7 @@ class Transport_websocket { function chunk($step, $cont) { + // fprintf(STDERR, "CHUNK: [%s]\n", $cont); return $this->frame('@BEGIN@'.$cont.'@END@'); // , 'text', TRUE); } @@ -503,6 +504,7 @@ class Transport_xhr { function chunk($step, $cont) { + // fprintf(STDERR, "CHUNK: [%s]\n", $cont); return ("@BEGIN@".$cont."@END@"); } @@ -574,6 +576,7 @@ push(\"%s\"); function chunk($step, $cont) { + // fprintf(STDERR, "CHUNK: [%s]\n", $cont); if ($cont == NULL) { return sprintf("", $step); -- 2.17.1