From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81470 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.gnus.general Subject: Re: Prevent freezing when having bad connection? Date: Wed, 22 Feb 2012 03:07:55 +0100 Message-ID: <86zkcb1uys.fsf@web.de> References: <8762feiet9.fsf@web.de> <8762fdxjkq.fsf@gnus.org> <87obsy6ssu.fsf@web.de> <877gziot71.fsf@gnus.org> Reply-To: ding@lists.math.uh.edu, michael_heerdegen@web.de NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329876192 20914 80.91.229.3 (22 Feb 2012 02:03:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Feb 2012 02:03:12 +0000 (UTC) To: ding@lists.math.uh.edu Original-X-From: ding-owner+M29750@lists.math.uh.edu Wed Feb 22 03:03:12 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S01Xz-0008Ss-HK for ding-account@gmane.org; Wed, 22 Feb 2012 03:03:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1S01Wv-0002HW-FM; Tue, 21 Feb 2012 20:02:05 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1S01Wu-0002HO-3G for ding@lists.math.uh.edu; Tue, 21 Feb 2012 20:02:04 -0600 Original-Received: from fmmailgate07.web.de ([217.72.192.248]) by mx2.math.uh.edu with esmtp (Exim 4.76) (envelope-from ) id 1S01Wp-0006EJ-44 for ding@lists.math.uh.edu; Tue, 21 Feb 2012 20:02:03 -0600 Original-Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate07.web.de (Postfix) with ESMTP id 75141C2815C for ; Wed, 22 Feb 2012 03:01:54 +0100 (CET) Original-Received: from dragon.dragon ([94.216.111.15]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0MKJAE-1RzTIV2EOE-001NLB; Wed, 22 Feb 2012 03:01:53 +0100 In-Reply-To: <877gziot71.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 20 Feb 2012 08:33:06 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) X-Provags-ID: V02:K0:5vkl3mbWzjv6Y1zoWIVPLwLTIbdOfbSSt7NLTDSiy5W /6kkcfvnYpEORDxhZDQr5lkXnFzrvs0wwGZJk0/vYzPMUqGrk6 tO90jrAA0idKiNV33PfMAIa5pdkM3iEDYQHfmgY3CjC0/5FKVR zpgD63PomQLpdoghKXemuliCrW7X/JXpWjsrezhpBRsIkVTAWP moChtF/pGFGqN4t1IUVl0iy5DkWD0sZXUeXOMBONNI= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81470 Archived-At: Lars Ingebrigtsen writes: > > strace -fp just prints > > > > [pid 22477] recv(12, 0xb73cfa0, 5, 0) = -1 EAGAIN (Resource > > temporarily unavailable) > > This is a different problem. The bug I fixed was related to writing, > not reading. I'll look for the socket when I'm at home again. BTW, when I got that, I simply pulled out my USB stick, so that the connection was still active, but with a zera data rate. I hope that's a good way to mimic a "bad connection" (or should I better put a metallic coffee tin around the stick?). Michael