<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Hello,<br>
<br>
im am running nginx 0.8.38 with nginx_http_push_module. I receive all
new<br>
messages more than one time... I receive the messages 5 secounds (this
is my<br>
push_message_timeout time) so i think, the push module does not know
that the <br>
message is allready received... How knows the push_module that the
message<br>
is already sent to one client?<br>
<br>
Any ideas how i can fix my setup, so that each client receive the
message only once time.<br>
<br>
This is my setup:<br>
<br>
location = /broadcast/sub {<br>
default_type text/json;<br>
set $push_channel_id $arg_channel;<br>
push_subscriber;<br>
push_subscriber_concurrency broadcast;<br>
push_channel_group broadcast;<br>
}<br>
<br>
location = /broadcast/pub {<br>
set $push_channel_id $arg_channel;<br>
push_publisher;<br>
push_min_message_buffer_length 5;<br>
push_max_message_buffer_length 20;<br>
push_message_timeout 10s;<br>
push_channel_group broadcast;<br>
}<br>
<br>
I send new messages with curl<br>
<br>
$ch = curl_init($pub_url);<br>
$data = array('status' => $message);<br>
curl_setopt($ch, CURLOPT_HTTPHEADER, Array("Content-Type:
text/json"));<br>
curl_setopt($ch, CURLOPT_POST, 1);<br>
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));<br>
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);<br>
$return = curl_exec($ch);<br>
curl_close($ch);<br>
<br>
Thanks for any hints...<br>
<br>
Alexander<br>
<br>
<br>
<br>
<em></em><br>
<em></em><em><br>
</em><span style="visibility: visible;" id="main"><span
style="visibility: visible;" id="search"><em></em><span
class="std nobr"><span class="gl"></span></span></span></span>
</body>
</html>