delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/18/15:59:25.1

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <00a501c2d78a$b2ed9ad0$0203a8c0@goblin>
From: "Dmitry Rozmanov" <dima AT xenon DOT spb DOT ru>
To: <cygwin AT cygwin DOT com>
References: <courier DOT 3E5241BF DOT 00007248 AT softhome DOT net>
Subject: Re: cygwin 1.3.20-1 and python 2.2.2-5
Date: Tue, 18 Feb 2003 23:17:02 +0300
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700

Thank you for noticing me. It looks like Cygwin has a bug. APS hangs just
after starting new thread.

Regards.

    ---Dmitry.

----- Original Message -----
From: <gagou AT softhome DOT net>
To: <cygwin AT cygwin DOT com>
Cc: <dima AT xenon DOT spb DOT ru>
Sent: Tuesday, February 18, 2003 5:22 PM
Subject: Re: cygwin 1.3.20-1 and python 2.2.2-5


> Jason,
>
> > On Tue, Feb 18, 2003 at 05:57:05AM -0700, gagou AT softhome DOT net wrote:
> > > I use a python script (NTLM APS, see http://apserver.sourceforge.net/)
> > > to access the web from cygwin (and other windows apps) at work.  This
> > > proxy software allows you to authenticate via an MS Proxy Server using
> > > the proprietary NTLM protocol.
> > > Since I upgraded cygwin to 1.3.20, it's not working anymore.
> >
> > Details?  For example, does APS hang? Or, does it just fail with an
> > error?
>
> It's just sitting here, accepting connections from the softs who adresses
> it. But it does not forward them to the MS Proxy.
> The screen debug tells:
> With cygwin 1.3.19:
> NTLM authorization Proxy Server v0.9.8 at "PRDRBNO:5865".
> 2001-2002 (C) by Dmitry Rozmanov
> Connected from 127.0.0.1:1941
> ..+.. Finished 127.0.0.1:1941
>
> With cygwin 1.3.20:
> NTLM authorization Proxy Server v0.9.8 at "PRDRBNO:5865".
> 2001-2002 (C) by Dmitry Rozmanov
> Connected from 127.0.0.1:2036
>
> In the log I have:
> With cygwin 1.3.19:
> 18.02.2003 14:53:27 Version 0.9.8
> *** Got client request header.
> *** Connecting to remote server...(192.168.4.3:80)...Done.
> *** Sending client request header to remote server...Done.
> *** Got remote server response header.
> [...Authentication stuff...]
> *** Sending remote server response header to client...Done.
> *** Lowered authentication flags down. As the code is neither 401 nor 407.
> *** Sent 2026 bytes to client. (all - 0, len - 0)
> *** Remote server closed connection. (Server buffer - 0 bytes)
> *** No server's data to send to the client. (server's buffer - 0 bytes)
> *** Termination conditions detected (remote server closed connection).
Stop
> Request issued.
> *** Finishing procedure started.
> *** Closing thread...Done.
>
> With cygwin 1.3.20, I've just the first line (date/time log).
>
> > Does APS use threads?
>
> Yes it does. At least, it does an "import thread" at the beginning of the
> script. As I wrote, I don't know much about python...
>
> > I am currently tracking down two Python regression test (i.e.,
> > test_asynchat and test_socket) hangs with 1.3.20-1 which may be related
> > to your problem.  My problem was introduced between 1.3.19-1 and the
> > 2003-Feb-01 snapshot.  With a limited amount of debugging, it appears
> > that creating a two sockets in two separate threads causes the second
> > one to hang.
>
> I've CC'd the author of APS.
>
> Thanks,
> Gael.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019