delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 25 Jul 2006 16:44:26 -1000 (HST) |
From: | Tim Newsham <newsham AT lava DOT net> |
To: | chappa AT math DOT washington DOT edu |
Cc: | cygwin AT cygwin DOT com |
Subject: | Re: Pine bug in cygwin? |
In-Reply-To: | <Pine.BSI.4.61.0607251535310.24390@malasada.lava.net> |
Message-ID: | <Pine.BSI.4.61.0607251642150.24390@malasada.lava.net> |
References: | <Pine DOT BSI DOT 4 DOT 61 DOT 0607251535310 DOT 24390 AT malasada DOT lava DOT net> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--1465796871-1164039931-1153881866=:24390 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Looks like the culprint is SSL_write. I wrote a wrapper around it that continues whenever it gets EINTR. It looks like its working now. See the attached diff.... On Tue, 25 Jul 2006, Tim Newsham wrote: > Encoding Error "Interrupted system call" [...] > smtp-server=127.0.0.1/novalidate-cert > inbox-path={127.0.0.1/ssl/novalidate-cert}inbox Tim Newsham http://www.thenewsh.com/~newsham/ --1465796871-1164039931-1153881866=:24390 Content-Type: APPLICATION/x-patch; name="cygwin-pine-ssl.patch" Content-Transfer-Encoding: BASE64 Content-ID: <Pine DOT BSI DOT 4 DOT 61 DOT 0607251644260 DOT 24390 AT malasada DOT lava DOT net> Content-Description: Content-Disposition: attachment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NpemUpKSkgPCAwKQorICAg IGlmICgoaSA9IFNTTF93cml0ZV9uaSAoc3RyZWFtLT5jb24sc3RyaW5nLChp bnQpIG1pbiAoU1NMQlVGTEVOLHNpemUpKSkgPCAwKQogICAgICAgcmV0dXJu IHNzbF9hYm9ydCAoc3RyZWFtKTsvKiB3cml0ZSBmYWlsZWQgKi8KICAgKCpi bikgKEJMT0NLX05PTkUsTklMKTsKICAgcmV0dXJuIExPTkdUOwkJCS8qIGFs bCBkb25lICovCg== --1465796871-1164039931-1153881866=:24390 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --1465796871-1164039931-1153881866=:24390--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |