Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 46239 invoked from network); 5 Jun 2008 07:56:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2008 07:56:35 -0000 Received: (qmail 75272 invoked by uid 500); 5 Jun 2008 07:56:38 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 75084 invoked by uid 500); 5 Jun 2008 07:56:38 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 75073 invoked by uid 99); 5 Jun 2008 07:56:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2008 00:56:38 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of supun06@gmail.com designates 209.85.198.240 as permitted sender) Received: from [209.85.198.240] (HELO rv-out-0708.google.com) (209.85.198.240) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2008 07:55:49 +0000 Received: by rv-out-0708.google.com with SMTP id c5so473522rvf.28 for ; Thu, 05 Jun 2008 00:56:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=0LN7pOIOwXgbByDMquLG6FA9leUqBMoTy2Mgw9Ie+14=; b=da1kjTbCoWA3YFRkfJ8QkiL4fu84FmnZG+vlfoFpX+tEGb7xOeBCumU7vf2EaLebgH HczXasThFpk2Lt9N/Ok+AkRVEvcSDGqCvIDwSDj1jLll3C4ys0g40W+bXSFQI6BiE0xh 3BIoSBKml3zMGNz4QURYwnuN1sxwPLHRrSxxY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Wg1xTIdaIsNIqgZSvB83ndTNpy/7lKoC9c6Y+LcMO9t6c5rbwoNCftzmYK+Kw6H1ZM ftwYj9iilt7b6C7/Ta1otGZCdiNugllhoHADKakumy2tn15Jl8NqJqVRXJ2bVXj2l05f bjFDUjOdbGqIJKL4ejKgwdLWOZmLyHF4rCXGc= Received: by 10.141.43.5 with SMTP id v5mr668586rvj.49.1212652566279; Thu, 05 Jun 2008 00:56:06 -0700 (PDT) Received: by 10.140.144.9 with HTTP; Thu, 5 Jun 2008 00:56:06 -0700 (PDT) Message-ID: Date: Thu, 5 Jun 2008 00:56:06 -0700 From: "Supun Kamburugamuva" To: "Apache AXIS C Developers List" Subject: Moving axis2_*iis/apache2*_worker_process_request logic to a common place MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_380_15747522.1212652566269" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_380_15747522.1212652566269 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi List, We have a very large code inside both axis2_apache2_worker_process_request and axis2_iis_worker_process_request methods. Both these codes are similar and use the same logic. It is hard to maintain same code in two places and I would like to suggest to move the common logic in to the http_transport_utils.c. In oder to introduce a common method we need to pass lot of information from the HTTP servers to this new method. We can do this by introducing a new structure. typedef struct { } axis2_tranport_t; ------=_Part_380_15747522.1212652566269 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi List,

We have a very large code inside both axis2_apache2_worker_process_request and axis2_iis_worker_process_request methods. Both these codes are similar and use the same logic. It is hard to maintain same code in two places and I would like to suggest to move the common logic in to the http_transport_utils.c.

In oder to introduce a common method we need to pass lot of information from the HTTP servers to this new method. We can do this by introducing a new structure.

typedef struct {


} axis2_tranport_t;
------=_Part_380_15747522.1212652566269--