Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Reply-To: From: "Norman Vine" To: "'Chris McDonough'" Cc: , Subject: RE: [Zope-dev] Zope & Cygwin Date: Thu, 18 Oct 2001 20:18:17 -0400 Message-ID: <008201c15833$8debc5e0$a300a8c0@nhv> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26 In-Reply-To: <00a001c156b2$946c7db0$8e01a8c0@kurtz> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Chris McDonough writes: > >Hope it's OK to continue crossposting this thread. > > 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. Yup... I get the same results :-( If you can tell me where the code is in Zope that is determining the Content-Length I will look into the Python && Cygwin 'C" code that is being called. Cheers Norman -- 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/