<div dir="ltr"><div class="im" style="font-family:arial,sans-serif;font-size:13px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word">It looks like &#39;run&#39; (A) overrides the base reactor&#39;s implementation, and (B) doesn&#39;t actually run the reactor.</div></blockquote><div><br></div></div><div style="font-family:arial,sans-serif;font-size:13px">
Correct, that is the intention, pulsar is the driver and the PulsarReactor is a proxy to one of pulsar event loops.</div><div class="im" style="font-family:arial,sans-serif;font-size:13px"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word"><div></div><div>it&#39;s probably a more serious underlying problem that just happens to be initially visible with your TLS connection.</div></div></blockquote><div> </div></div><div style="font-family:arial,sans-serif;font-size:13px">
The main issue was the missing implementation of callFromThread and callInThread. I&#39;ve also switched off signal handling, threads and scheduling, all handled by pulsar.</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px"><a href="https://github.com/quantmind/pulsar/blob/handshake/pulsar/lib/tx.py">https://github.com/quantmind/pulsar/blob/handshake/pulsar/lib/tx.py</a><br></div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I&#39;m now getting mailboxes via a websocket. Looking promising.</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px"><a href="https://github.com/quantmind/pulsar/blob/handshake/examples/webmail/manage.py">https://github.com/quantmind/pulsar/blob/handshake/examples/webmail/manage.py</a><br>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Luca</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>