<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">I don&#39;t think there is a workaround. Maybe there is a atexit(3)<br>
equivalent in php?<br></blockquote>Not that I know of.<br><br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">It should be fine as far as the TCP/IP connection is intact. �But don&#39;t use<br>

AMQP heartbeats :)<br></blockquote>
Yes, heartbeats do screw things up!� I&#39;ll have to remember to note that in the docs.<br><br>Thanks,<br>--Robin<br><br><br><br><br><div class="gmail_quote">On Thu, Jul 7, 2011 at 1:46 PM, Marek Majkowski <span dir="ltr">&lt;<a href="mailto:majek04@gmail.com">majek04@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wed, Jul 6, 2011 at 19:24, Robin Harvey &lt;<a href="mailto:harvey.robin@gmail.com">harvey.robin@gmail.com</a>&gt; wrote:<br>

&gt; A couple of people recently asked about support for persistent connections,<br>
&gt; after a bit of hacking around I&#39;ve uploaded an update which has basic<br>
&gt; persistent connection support: <a href="https://github.com/BraveSirRobin/amqphp" target="_blank">https://github.com/BraveSirRobin/amqphp</a><br>
&gt; (check the 0.9.1 tag)<br>
<br>
</div>Nice!<br>
<div class="im"><br>
&gt; I&#39;d be interested to hear what the RabbitMQ people think about the likely<br>
&gt; behavior of PHP &quot;persistent connections&quot;, which may include:<br>
&gt;<br>
&gt; �* If the web server is restarted, all open client connections are dropped<br>
&gt; without going through the amqp shutdown sequence, so you get lots of &quot;closed<br>
&gt; abruptly&quot; errors in the log.<br>
<br>
</div>I don&#39;t think there is a workaround. Maybe there is a atexit(3)<br>
equivalent in php?<br>
<div class="im"><br>
&gt; �* If a web server has no web requests to process then the persistent client<br>
&gt; can&#39;t respond to any messages the broker sends; the client will &quot;go quiet&quot;.<br>
<br>
</div>It should be fine as far as the TCP/IP connection is intact. �But don&#39;t use<br>
AMQP heartbeats :)<br>
<br>
Cheers,<br>
<font color="#888888"> �Marek<br>
</font></blockquote></div><br>