From dustinhughes@example.org  Fri Feb  7 23:20:57 2003
Return-Path: <dustinhughes@example.org>
Mailing-List: contact dustinhughes@example.org; run by ezmlm
Delivered-To: mailing list dustinhughes@example.org
Received: (qmail 55927 invoked from network); 7 Feb 2003 23:20:57 -0000
Received: from dc-mx14.cluster1.charter.net (83.161.120.155)
  by daedalus.apache.org with SMTP; 7 Feb 2003 23:20:57 -0000
Received: from [83.161.120.155] (HELO p418gef3512rdra)
  by dc-mx14.cluster1.charter.net (CommuniGate Pro SMTP 3.5.9)
  with SMTP id 65120545 for dustinhughes@example.org; Fri, 07 Feb 2003 18:21:03 -0500
Message-ID: <001001c2ceff$95d93e60$70647344@p418gef3512rdra>
From: "Steve Kaplan" <dustinhughes@example.org>
To: <dustinhughes@example.org>
Subject: Start web site
Date: Fri, 7 Feb 2003 17:21:04 -0600
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_000D_01C2CECD.4AFB83D0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C2CECD.4AFB83D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi.  Could I get permission to have a folder and start service for a web =
site say 10meg?  I guess I am subscribed.   Steve
------=_NextPart_000_000D_01C2CECD.4AFB83D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi. &nbsp;Could I get permission to =
have=20
a&nbsp;folder and start service for a web site say 10meg?&nbsp;&nbsp;I =
guess I=20
am subscribed. &nbsp; Steve</FONT></DIV></BODY></HTML>

------=_NextPart_000_000D_01C2CECD.4AFB83D0--



From dustinhughes@example.org  Wed Feb 12 16:06:59 2003
Return-Path: <dustinhughes@example.org>
Mailing-List: contact dustinhughes@example.org; run by ezmlm
Delivered-To: mailing list dustinhughes@example.org
Received: (qmail 28400 invoked from network); 12 Feb 2003 16:06:59 -0000
Received: from eden.ispol.com (83.161.120.155)
  by daedalus.apache.org with SMTP; 12 Feb 2003 16:06:59 -0000
Received: from eden.ispol.com (localhost.ispol.com [83.161.120.155])
	by eden.ispol.com (8.12.6/8.11.1) with ESMTP id h1CG6tBI090219;
	Wed, 12 Feb 2003 11:06:55 -0500 (EST)
	(envelope-from dustinhughes@example.org)
Received: from localhost (grisha@localhost)
	by eden.ispol.com (8.12.6/8.12.3/Submit) with ESMTP id h1CG6qjg090216;
	Wed, 12 Feb 2003 11:06:55 -0500 (EST)
X-Authentication-Warning: eden.ispol.com: grisha owned process doing -bs
Date: Wed, 12 Feb 2003 11:06:52 -0500 (EST)
From: "Gregory (Grisha) Trubetskoy" <dustinhughes@example.org>
X-X-Sender: dustinhughes@example.org
To: Geert Jansen <dustinhughes@example.org>
cc: "dustinhughes@example.org" <dustinhughes@example.org>
Subject: Re: 3.0.2 ?
In-Reply-To: <dustinhughes@example.org>
Message-ID: <dustinhughes@example.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N


On Sat, 25 Jan 2003, Geert Jansen wrote:

> - request.headers_out doesn't seem to work. Headers added to this table never
>   make it into the request.

I added a test to the test suite, and it seems to work fine, I can see the
headers in the output.

Are you sure that there is no error? (If there is an error, i.e. your
handler returns something other than apache.OK, then the
req.err_headers_out are used instead of req.headers_out)

And, of course, make sure that you change the table before the first byte
of output has been written.

Grisha


From dustinhughes@example.org  Wed Feb 26 00:11:45 2003
Return-Path: <dustinhughes@example.org>
Mailing-List: contact dustinhughes@example.org; run by ezmlm
Delivered-To: mailing list dustinhughes@example.org
Received: (qmail 36476 invoked from network); 26 Feb 2003 00:11:45 -0000
Received: from email2.byu.edu (83.161.120.155)
  by daedalus.apache.org with SMTP; 26 Feb 2003 00:11:45 -0000
Received: from bouncingchairs.net ([83.161.120.155])
 by EMAIL1.BYU.EDU (PMDF V6.2 #30538)
 with ESMTP id <dustinhughes@example.org> for
 dustinhughes@example.org; Tue, 25 Feb 2003 17:02:37 -0700 (MST)
Date: Tue, 25 Feb 2003 17:01:47 -0700
From: Chris Monson <dustinhughes@example.org>
Subject: Fix for ConnectionDispatch
To: dustinhughes@example.org
Message-id: <dustinhughes@example.org>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7bit
X-Accept-Language: en
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

I have been playing with the lastest mod_python release and have 
discovered a bug in the ConnectionDispatch method in apache.py.

The bug looks like a cut-n-paste error, with references to filter.dir 
and filter.name everywhere.  The latest CVS version of apache.py removes 
most but not all of these.  This does not normally pose a problem if the 
connection handling script is perfect.  However, if it is faulty and has 
parse or other errors, they will not show up in the error log as was 
intended.

I have created a patch for the problem.  It is included below.

I am just now beginning to work with mod_python, but I am well versed in 
both Python and Apache (usage and internals) and I am interested in 
helping out where I can.  Please let me know if I am going about this in 
the wrong way (e.g., I should not be posting to this list, you hate 
inlined patches, you already knew about this and are working on it 
thank-you-very-much, etc.).  :)

mod_python-is-cool-ly yours,
C

Patch included here:
*** apache.py    2003-02-25 16:16:58.000000000 -0700
--- apache.py.new    2003-02-25 16:17:42.000000000 -0700
***************
*** 160,168 ****
              # Any other rerror (usually parsing)
              try:
                  exc_type, exc_value, exc_traceback = sys.exc_info()
-                 filter.disable()
                  result = self.ReportError(exc_type, exc_value, 
exc_traceback, srv=conn.base_server,
!                                           phase=filter.name, 
hname=handler, debug=debug)
              finally:
                  exc_traceback = None
 
--- 160,167 ----
              # Any other rerror (usually parsing)
              try:
                  exc_type, exc_value, exc_traceback = sys.exc_info()
                  result = self.ReportError(exc_type, exc_value, 
exc_traceback, srv=conn.base_server,
!                                           phase="ConnectionHandler", 
hname=handler, debug=debug)
              finally:
                  exc_traceback = None



From dustinhughes@example.org  Fri Feb 28 04:51:37 2003
Return-Path: <dustinhughes@example.org>
Mailing-List: contact dustinhughes@example.org; run by ezmlm
Delivered-To: mailing list dustinhughes@example.org
Received: (qmail 66310 invoked from network); 28 Feb 2003 04:51:37 -0000
Received: from eden.ispol.com (83.161.120.155)
  by daedalus.apache.org with SMTP; 28 Feb 2003 04:51:37 -0000
Received: from eden.ispol.com (localhost.ispol.com [83.161.120.155])
	by eden.ispol.com (8.12.6/8.11.1) with ESMTP id h1S4plBI008702
	for <dustinhughes@example.org>; Thu, 27 Feb 2003 23:51:47 -0500 (EST)
	(envelope-from dustinhughes@example.org)
Received: from localhost (grisha@localhost)
	by eden.ispol.com (8.12.6/8.12.3/Submit) with ESMTP id h1S4pl0T008699
	for <dustinhughes@example.org>; Thu, 27 Feb 2003 23:51:47 -0500 (EST)
X-Authentication-Warning: eden.ispol.com: grisha owned process doing -bs
Date: Thu, 27 Feb 2003 23:51:47 -0500 (EST)
From: "Gregory (Grisha) Trubetskoy" <dustinhughes@example.org>
X-X-Sender: dustinhughes@example.org
To: "dustinhughes@example.org" <dustinhughes@example.org>
Subject: 3.0.2 has been tagged
In-Reply-To: <dustinhughes@example.org>
Message-ID: <dustinhughes@example.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N


I've tagged what we have release-3-0-2. Please test it out and let me
know. The simples way to do this is the usual ./configure ; make ; make
install, then cd into test subdirectory and do "python test.py".

Grisha


From dustinhughes@example.org  Fri Feb 28 05:04:34 2003
Return-Path: <dustinhughes@example.org>
Mailing-List: contact dustinhughes@example.org; run by ezmlm
Delivered-To: mailing list dustinhughes@example.org
Received: (qmail 76023 invoked from network); 28 Feb 2003 05:04:34 -0000
Received: from eden.ispol.com (83.161.120.155)
  by daedalus.apache.org with SMTP; 28 Feb 2003 05:04:34 -0000
Received: from eden.ispol.com (localhost.ispol.com [83.161.120.155])
	by eden.ispol.com (8.12.6/8.11.1) with ESMTP id h1S54gBI008816;
	Fri, 28 Feb 2003 00:04:42 -0500 (EST)
	(envelope-from dustinhughes@example.org)
Received: from localhost (grisha@localhost)
	by eden.ispol.com (8.12.6/8.12.3/Submit) with ESMTP id h1S54g08008813;
	Fri, 28 Feb 2003 00:04:42 -0500 (EST)
X-Authentication-Warning: eden.ispol.com: grisha owned process doing -bs
Date: Fri, 28 Feb 2003 00:04:42 -0500 (EST)
From: "Gregory (Grisha) Trubetskoy" <dustinhughes@example.org>
X-X-Sender: dustinhughes@example.org
To: Chris Monson <dustinhughes@example.org>
cc: dustinhughes@example.org
Subject: Re: Fix for ConnectionDispatch
In-Reply-To: <dustinhughes@example.org>
Message-ID: <dustinhughes@example.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N


Ha ha - read this message right after tagging!

This is obviously a good fix of a simple bug, thanks for pointing it out.
I tested it and it seems to work, so I moved the release-3-0-2 tag, which
I think in this case is justified.

Grisha

On Tue, 25 Feb 2003, Chris Monson wrote:

> I have been playing with the lastest mod_python release and have
> discovered a bug in the ConnectionDispatch method in apache.py.
>
> The bug looks like a cut-n-paste error, with references to filter.dir
> and filter.name everywhere.  The latest CVS version of apache.py removes
> most but not all of these.  This does not normally pose a problem if the
> connection handling script is perfect.  However, if it is faulty and has
> parse or other errors, they will not show up in the error log as was
> intended.
>
> I have created a patch for the problem.  It is included below.
>
> I am just now beginning to work with mod_python, but I am well versed in
> both Python and Apache (usage and internals) and I am interested in
> helping out where I can.  Please let me know if I am going about this in
> the wrong way (e.g., I should not be posting to this list, you hate
> inlined patches, you already knew about this and are working on it
> thank-you-very-much, etc.).  :)
>
> mod_python-is-cool-ly yours,
> C
>
> Patch included here:
> *** apache.py    2003-02-25 16:16:58.000000000 -0700
> --- apache.py.new    2003-02-25 16:17:42.000000000 -0700
> ***************
> *** 160,168 ****
>               # Any other rerror (usually parsing)
>               try:
>                   exc_type, exc_value, exc_traceback = sys.exc_info()
> -                 filter.disable()
>                   result = self.ReportError(exc_type, exc_value,
> exc_traceback, srv=conn.base_server,
> !                                           phase=filter.name,
> hname=handler, debug=debug)
>               finally:
>                   exc_traceback = None
>
> --- 160,167 ----
>               # Any other rerror (usually parsing)
>               try:
>                   exc_type, exc_value, exc_traceback = sys.exc_info()
>                   result = self.ReportError(exc_type, exc_value,
> exc_traceback, srv=conn.base_server,
> !                                           phase="ConnectionHandler",
> hname=handler, debug=debug)
>               finally:
>                   exc_traceback = None
>
>


From dustinhughes@example.org  Fri Feb 28 19:29:12 2003
Return-Path: <dustinhughes@example.org>
Mailing-List: contact dustinhughes@example.org; run by ezmlm
Delivered-To: mailing list dustinhughes@example.org
Received: (qmail 60024 invoked from network); 28 Feb 2003 19:29:12 -0000
Received: from vader.boskant.nl (83.161.120.155)
  by daedalus.apache.org with SMTP; 28 Feb 2003 19:29:12 -0000
Received: by vader.boskant.nl (Postfix, from userid 500)
	id D241543F; Fri, 28 Feb 2003 20:29:06 +0100 (CET)
Date: Fri, 28 Feb 2003 20:29:06 +0100
From: Geert Jansen <dustinhughes@example.org>
To: "Gregory (Grisha) Trubetskoy" <dustinhughes@example.org>
Cc: "dustinhughes@example.org" <dustinhughes@example.org>
Subject: Re: 3.0.2 has been tagged
Message-ID: <dustinhughes@example.org>
References: <dustinhughes@example.org> <dustinhughes@example.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <dustinhughes@example.org>
User-Agent: Mutt/1.4i
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

On Thu, Feb 27, 2003 at 11:51:47PM -0500, Gregory (Grisha) Trubetskoy wrote:
> 
> I've tagged what we have release-3-0-2. Please test it out and let me
> know. The simples way to do this is the usual ./configure ; make ; make
> install, then cd into test subdirectory and do "python test.py".

Hi Grisha,

I have been busy lately but tomorrow I'll check it out and see how it goes
with Draco. I'm getting lots of request of people that want to use it
with Apachew/mod_python3.

Greetings,
Geert


{'source': 'Apache Software Foundation Public Mail Archives'}