Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 47035 invoked from network); 6 Dec 2007 11:13:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2007 11:13:13 -0000 Received: (qmail 16678 invoked by uid 500); 6 Dec 2007 11:13:01 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 16536 invoked by uid 500); 6 Dec 2007 11:13:01 -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 16519 invoked by uid 99); 6 Dec 2007 11:13:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2007 03:13:00 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2007 11:12:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8CD6771424A for ; Thu, 6 Dec 2007 03:12:43 -0800 (PST) Message-ID: <4856996.1196939563574.JavaMail.jira@brutus> Date: Thu, 6 Dec 2007 03:12:43 -0800 (PST) From: "Dinesh Premalal (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Assigned: (AXIS2C-809) libcurl ignores error on http send, leaks memory, et.al. In-Reply-To: <30749509.1196895824576.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dinesh Premalal reassigned AXIS2C-809: -------------------------------------- Assignee: Dinesh Premalal > libcurl ignores error on http send, leaks memory, et.al. > --------------------------------------------------------- > > Key: AXIS2C-809 > URL: https://issues.apache.org/jira/browse/AXIS2C-809 > Project: Axis2-C > Issue Type: Bug > Components: transport/http > Affects Versions: Current (Nightly) > Environment: Windows, Visual Studio 2005, building libcurl version using libcurl 7.17.1 > Reporter: Bill Mitchell > Assignee: Dinesh Premalal > Priority: Minor > Attachments: axis2_libcurl_diff > > > When using the libcurl version of Axis2C, I inadvertently provided an invalid URL address. It turns out that axis2_libcurl ignores an error sending the request and goes ahead and tries to parse the non-existent response. The preferred behavior would be to match that of axis2_http_sender_send in its normal configuration, and return AXIS2_FAILURE. It would be nice if the actual curl error were logged. > When investigating this, I noticed that axis2_libcurl allocates a axis2_libcurl structure on each send, and this structure is never freed. > I also noticed that the routine was not well behaved when the allocation of the axis2_libcurl structure failed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org