repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
ManualTests
/
eventsource
/
eventsource-loader-buffering.php
blob
fe2c86f7ba7be8e25da5b645e2ce46b89b5b904d
1
<
?php
2
header
(
"Content-Type: text/event-stream"
);
3
4
$data
=
""
;
5
for
(
$i
=
0
;
$i
<
1000
;
$i
++
)
6
$data
.=
"x"
;
7
8
for
(
$i
=
0
;
$i
<
30000
;
$i
++
) {
9
echo
"data:
$data\n\n
"
;
10
flush
();
11
usleep
(
1000
);
12
}
13
?
>