[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #8284 [Flashproxy]: Catch SSL read error in facilitator-email-poller



#8284: Catch SSL read error in facilitator-email-poller
------------------------+---------------------------------------------------
 Reporter:  dcf         |          Owner:  dcf           
     Type:  defect      |         Status:  needs_revision
 Priority:  normal      |      Milestone:                
Component:  Flashproxy  |        Version:                
 Keywords:              |         Parent:                
   Points:              |   Actualpoints:                
------------------------+---------------------------------------------------
Changes (by dcf):

  * status:  needs_review => needs_revision


Comment:

 I think we actually want this exception handling one layer higher--around
 `imap_loop` rather than around `imap.select` Our connection is probably
 hosed at this point so we can't jump back into `imap.select` and need to
 reconnect.

 I notice that we are already handling `imaplib.IMAP4.abort` in the main
 loop--I'll add exception handling there. That's also a nice place because
 it has the rate limiter that will keep us from reconnecting too fast if
 something is seriously wrong.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8284#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs