projects
/
xynt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ctx_new moved inside iframe to avoid inconsistencies, stream with commands added
[xynt.git]
/
web
/
test-hs-rd.php
diff --git
a/web/test-hs-rd.php
b/web/test-hs-rd.php
index
bfa7544
..
9edd50b
100644
(file)
--- a/
web/test-hs-rd.php
+++ b/
web/test-hs-rd.php
@@
-1,8
+1,11
@@
<html>
<head>
<script type="text/javascript" src="xynt/xynt-console.js"></script>
<html>
<head>
<script type="text/javascript" src="xynt/xynt-console.js"></script>
+<script type="text/javascript" src="xynt/xynt-http-streaming-ifra.js"></script>
<script type="text/javascript">
var http_streaming = "ready";
<script type="text/javascript">
var http_streaming = "ready";
+var ctx_new = "";
+
window.onload = function () { if (http_streaming != "ready") http_streaming.reload(); };
</script>
<?php
window.onload = function () { if (http_streaming != "ready") http_streaming.reload(); };
</script>
<?php
@@
-16,20
+19,20
@@
function main()
{
$s = "";
for ($i = 0 ; $i < 4096 ; $i++) {
{
$s = "";
for ($i = 0 ; $i < 4096 ; $i++) {
- $s .= rand(
0,255
);
+ $s .= rand(
65,90
);
}
}
- for ($i = 0 ; $i < 20 ; $i++) {
-
- if ($i != 18) {
+ for ($i = 0 ; $i < 15 ; $i++) {
+ // if ($i == 0)
+ // sleep(1);
+
+ if ($i != 8) {
printf("<script id='hs%d' type='text/javascript'>
printf("<script id='hs%d' type='text/javascript'>
-if (http_streaming != 'ready') {
- http_streaming.keepalive();
-}
+push(\"$('cont').innerHTML = '%d';\");
</script>", $i, $i);
}
else {
// exit();
</script>", $i, $i);
}
else {
// exit();
- sleep(30);
+
//
sleep(30);
}
if ($i == 0)
printf("<!-- %s -->", $s);
}
if ($i == 0)
printf("<!-- %s -->", $s);