This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: fetchmail socket errors with CVS cygwin build from 30 July
On Jul 31 12:47, Corinna Vinschen wrote:
> On Jul 31 12:26, Corinna Vinschen wrote:
> > On Jul 31 11:38, Dr. Volker Zell wrote:
> > > Hi
> > >
> > > In order to track down an xemacs segfault I build the latest cygwin1.dll
> > > from CVS (30 July). With that dll fetchmail couldn't connect to my IMAP
> > > server anymore. fetchmail works well with 1.5.21.
> > >
> > > Here is what I get when running under verbose mode:
> > >
> > > Jul 31 11:05:40 localhost fetchmail: PID 1740: awakened at Mon Jul 31 11:05:40 2006
> > > Jul 31 11:05:40 localhost fetchmail: PID 1740: 6.3.1 querying rgmemeaimap.oraclecorp.com (protocol IMAP) at Mon Jul 31 11
> > > :05:40 2006: poll started
> > > Jul 31 11:05:40 localhost fetchmail: PID 1740: socket error while fetching from Dr.Volker.Zell@rgmemeaimap.oraclecorp.com
> > > Jul 31 11:05:40 localhost fetchmail: PID 1740: 6.3.1 querying rgmemeaimap.oraclecorp.com (protocol IMAP) at Mon Jul 31 11
> > > :05:40 2006: poll completed
> > > Jul 31 11:05:40 localhost fetchmail: PID 1740: Query status=2 (SOCKET)
> > > Jul 31 11:05:40 localhost fetchmail: PID 1740: sleeping at Mon Jul 31 11:05:40 2006
> >
> > Can you please strip that down to a simple reproducible testcase in C?
>
> I just tried fetchmail over ssl myself and it works fine for me with the
> current Cygwin from CVS. There must be something in your setup which
> might cause this problem. I definitely need more information or better,
> a simple testcase.
Scratch that. I was able to reproduce it when not using SSL. The
problem is apparently related to calling recv(..., MSG_PEEK). This
isn't the first time fetchmail gets problems with WinSock's MSG_PEEK
handling. I can't solve the underlying problem, but I can fix the
additional problem which I introduced in the snapshot. I applied a
fix to CVS.
Thanks for the report,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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/