delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/16/22:14:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <00a001c156b2$946c7db0$8e01a8c0@kurtz>
From: "Chris McDonough" <chrism AT zope DOT com>
To: <nhv AT cape DOT com>
Cc: <zope-dev AT zope DOT org>, <cygwin AT cygwin DOT com>
References: <002d01c156a9$0e6757c0$a300a8c0 AT nhv>
Subject: Re: [Zope-dev] Zope & Cygwin
Date: Tue, 16 Oct 2001 22:22:27 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700

Hope it's OK to continue crossposting this thread.

> also of note
> http://apache.dev.wapme.net

Grabbed the bindist earlier today. ;-)  I wanted to torture test the Zope
session manager under the cygwin-built Zope using ab, which is good
real-world threading test.  It appears that neither ab nor wget much like
something about their communication with the cygwin-built Zope.  Here's a
wget session with a cygwin-built python/Zope combo:

--22:14:42--  http://localhost/
           => `index.html'
Connecting to localhost:80... connected!
HTTP request sent, awaiting response... 200 OK
2 Server: Zope/(unreleased version, python 2.1.1, cygwin) ZServer/1.1b1
3 Date: Wed, 17 Oct 2001 02:14:42 GMT
4 Connection: close
5 Content-Type: text/html
6 Content-Length: 3012
7

    0K -> .. (freeze)

Here's a session with a VC++-built Zope:

$ wget -S http://localhost:8080/
--22:17:20--  http://localhost:8080/
           => `index.html'
Connecting to localhost:8080... connected!
HTTP request sent, awaiting response... 200 OK
2 Server: Zope/(unreleased version, python 2.1.0, win32) ZServer/1.1b1
3 Date: Wed, 17 Oct 2001 02:17:20 GMT
4 Connection: close
5 Content-Type: text/html
6 Content-Length: 194
7

    0K ->                                                        [100%]

22:17:20 (9.47 KB/s) - `index.html' saved [194/194]

It's almost as if the wrong content-length is provided by the Cygwin-built
Zope and both wget and ab are waiting for data.  Browsers OTOH don't seem to
care; they happily render the page as its given to them by the Cygwin-built
Zope.  I'll investigate this further when possible.

> FYI
> I have managed to patch the python 2.1.1 sources to build
> the winreg module with Cygwin.  It is a fairly  pervasive patch in
> that it python then has to know both the 'posix' and the 'Win32'
> way of handling unicode, error systems, ect.
>
> Because of the breadth of this  I have held off submitting the patch
> to the Python SourceForge collector but I am wondering if this would
> be useful for Zope development ?

I don't think it's a pressing need for us, although I'll need to defer to
Brian Lloyd, who is still the Zope release-master despite years of desperate
kicking and screaming.

The only thing in Zope for Windows that uses the registry is the installer
and the service manager and we don't use the winreg module in the current
install or service process, AFAIK.  It is handy, however, to know it can be
used under Cygwin with your patches.

Thanks so much again,

- C




--
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