Sign in
webkit
/
WebKit
/
4c7d95629ffaef0909bfb634e507ed2290e5afc6
/
.
/
ManualTests
/
eventsource
/
eventsource-loader-buffering.php
blob: fe2c86f7ba7be8e25da5b645e2ce46b89b5b904d [
file
] [
log
] [
blame
]
<?
php
header
(
"Content-Type: text/event-stream"
);
$data
=
""
;
for
(
$i
=
0
;
$i
<
1000
;
$i
++)
$data
.=
"x"
;
for
(
$i
=
0
;
$i
<
30000
;
$i
++)
{
echo
"data: $data\n\n"
;
flush
();
usleep
(
1000
);
}
?>