On Sun, 08 Apr 2012 13:46:56 -0400 Thomas Fitzsimmons wrote: TF> The loop happens when the GnuTLS handshake fails for some reason, within TF> a network process. I use the attached patch to limit the number of TF> iterations. I'm not familiar enough with the Emacs process code to TF> suggest a fix though. Thanks again for the help and provided patch. I modified it to keep the number of handshakes tried per connection, not globally. Please try it. I will also propose it on emacs-devel for inclusion in the upcoming 24.1 release. Ted