<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jul 14, 2014 at 7:49 PM, Brian Wood <span dir="ltr"><<a href="mailto:woodbrian77@gmail.com" target="_blank">woodbrian77@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div></div><div>When the socket descriptor is 1, I get an EBADF on<br>
</div><div>an epoll_ctl with an op of EPOLL_CTL_MOD.<br></div><div>It's on the second call to epoll_ctl though (with<br></div><div>same input) that it fails.  The first one is related <br>to logging in and the second one is due to the<br>

</div><div>request via the front tier.  </div></div></blockquote><div><br></div><div>This part was wrong.  It's the third call to epoll_ctl that <br>fails.   The first turns EPOLLOUT on, the second turns <br>it off, and the third turns it back on.  The first two are <br>
associated with logging in.  The third one is associated <br>with a request via the front tier.<br></div><div> <br><div dir="ltr"><br></div></div></div>
</div></div>