[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-c-dev
Subject:    Re: [jira] [Updated] (XERCESC-1963) Custom HTTP headers missing with CURL
From:       Michael Glavassevich <mrglavas () ca ! ibm ! com>
Date:       2011-04-18 0:31:24
Message-ID: OFDFAB3F2B.52719A08-ON85257876.0002590D-85257876.0002E51F () ca ! ibm ! com
[Download RAW message or body]

Hi John,

I would suggest contacting the Infrastructure team. I believe they're the
only ones who could make that kind of update to an account.

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

John Snelson <john@snelson.org.uk> wrote on 04/17/2011 06:32:34 PM:

> Hi all,
>
> I'd like to handle this - I think I was probably the last person
> working in this area of the code.
>
> My only problem is it's been a while, and I've changed jobs and
> email addresses since the last time I logged in anywhere! Can
> someone get my email address in the system changed to this one, so
> that I can log into JIRA again and take a proper look at resolving this
bug?
>
> Thanks,
>
> John Snelson
>
> On 17 Apr 2011, at 23:03, Eric Swalens (JIRA) wrote:
>
> >
> >     [ https://issues.apache.org/jira/browse/XERCESC-1963?
> page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> >
> > Eric Swalens updated XERCESC-1963:
> > ----------------------------------
> >
> >    Description:
> > It seems that the custom headers set using XMLNetHTTPInfo are
> missing from the actual HTTP request when the CURLNetAccessor is
> used. The SocketNetAccessor does not show this problem.
> >
> > The headerList in the CurlURLInputStream constructor is correctly
> built but from what I understand of the CURL documentation the list
> cannot be freed until the GET request has been made. Currently the
> list feed right after setting the CURLOPT_HTTPHEADER. Delaying the
> call curl_slist_free_all to the destructor solves the issue (patch
attached).
> >
> >  was:
> > It seems that the custom headers set using XMLNetHTTPInfo are
> missing from the actual HTTP request when the CURLNetAccessor is
> used. The SocketNetAccessor does not show this problem.
> >
> > The headerList in the CurlURLInputStream constructor is correctly
> built but from what I understand of the CURL documentation the list
> cannot be freed until the GET request has been made. Currently the
> list feed right after setting the CURLOPT_HTTPHEADER. Delaying the
> call curl_slist_free_all to the destructor solves the issue.
> >
> >    Environment:
> > Xerces-c 3.1.1
> > curl_version: libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
> > Mac OS X 10.6.7, i686-apple-darwin10-g++-4.2.1
> >
> >  was:Xerces-c 3.1.1, Mac OS X 10.6.7, i686-apple-darwin10-g++-4.2.1
> >
> >
> >> Custom HTTP headers missing with CURL NetAccessor
> >> --------------------------------------------------
> >>
> >>                Key: XERCESC-1963
> >>                URL: https://issues.apache.org/jira/browse/XERCESC-1963
> >>            Project: Xerces-C++
> >>         Issue Type: Bug
> >>         Components: Utilities
> >>   Affects Versions: 3.1.1
> >>        Environment: Xerces-c 3.1.1
> >> curl_version: libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
> >> Mac OS X 10.6.7, i686-apple-darwin10-g++-4.2.1
> >>           Reporter: Eric Swalens
> >>           Priority: Minor
> >>             Labels: patch
> >>        Attachments: CurlURLInputStream-headers-0.1.patch
> >>
> >>
> >> It seems that the custom headers set using XMLNetHTTPInfo are
> missing from the actual HTTP request when the CURLNetAccessor is
> used. The SocketNetAccessor does not show this problem.
> >> The headerList in the CurlURLInputStream constructor is correctly
> built but from what I understand of the CURL documentation the list
> cannot be freed until the GET request has been made. Currently the
> list feed right after setting the CURLOPT_HTTPHEADER. Delaying the
> call curl_slist_free_all to the destructor solves the issue (patch
attached).
> >
> > --
> > This message is automatically generated by JIRA.
> > For more information on JIRA, see:
http://www.atlassian.com/software/jira
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
> > For additional commands, e-mail: c-dev-help@xerces.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
> For additional commands, e-mail: c-dev-help@xerces.apache.org
[Attachment #3 (text/html)]

<html><body>
<p><tt>Hi John,</tt><br>
<br>
<tt>I would suggest contacting the Infrastructure team. I believe they're the only \
ones who could make that kind of update to an account.</tt><br> <br>
<tt>Thanks.</tt><br>
<br>
<tt>Michael Glavassevich<br>
XML Parser Development<br>
IBM Toronto Lab<br>
E-mail: mrglavas@ca.ibm.com</tt><br>
<tt>E-mail: mrglavas@apache.org</tt><br>
<br>
<tt>John Snelson &lt;john@snelson.org.uk&gt; wrote on 04/17/2011 06:32:34 PM:<br>
<br>
&gt; Hi all,<br>
&gt; <br>
&gt; I'd like to handle this - I think I was probably the last person <br>
&gt; working in this area of the code.<br>
&gt; <br>
&gt; My only problem is it's been a while, and I've changed jobs and <br>
&gt; email addresses since the last time I logged in anywhere! Can <br>
&gt; someone get my email address in the system changed to this one, so <br>
&gt; that I can log into JIRA again and take a proper look at resolving this bug?<br>
&gt; <br>
&gt; Thanks,<br>
&gt; <br>
&gt; John Snelson<br>
&gt; <br>
&gt; On 17 Apr 2011, at 23:03, Eric Swalens (JIRA) wrote:<br>
&gt; <br>
&gt; &gt; <br>
&gt; &gt; &nbsp; &nbsp; [ <a \
href="https://issues.apache.org/jira/browse/XERCESC-1963?">https://issues.apache.org/jira/browse/XERCESC-1963?</a><br>
 &gt; page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]<br>
&gt; &gt; <br>
&gt; &gt; Eric Swalens updated XERCESC-1963:<br>
&gt; &gt; ----------------------------------<br>
&gt; &gt; <br>
&gt; &gt; &nbsp; &nbsp;Description: <br>
&gt; &gt; It seems that the custom headers set using XMLNetHTTPInfo are <br>
&gt; missing from the actual HTTP request when the CURLNetAccessor is <br>
&gt; used. The SocketNetAccessor does not show this problem.<br>
&gt; &gt; <br>
&gt; &gt; The headerList in the CurlURLInputStream constructor is correctly <br>
&gt; built but from what I understand of the CURL documentation the list <br>
&gt; cannot be freed until the GET request has been made. Currently the <br>
&gt; list feed right after setting the CURLOPT_HTTPHEADER. Delaying the <br>
&gt; call curl_slist_free_all to the destructor solves the issue (patch \
attached).<br> &gt; &gt; <br>
&gt; &gt; &nbsp;was:<br>
&gt; &gt; It seems that the custom headers set using XMLNetHTTPInfo are <br>
&gt; missing from the actual HTTP request when the CURLNetAccessor is <br>
&gt; used. The SocketNetAccessor does not show this problem.<br>
&gt; &gt; <br>
&gt; &gt; The headerList in the CurlURLInputStream constructor is correctly <br>
&gt; built but from what I understand of the CURL documentation the list <br>
&gt; cannot be freed until the GET request has been made. Currently the <br>
&gt; list feed right after setting the CURLOPT_HTTPHEADER. Delaying the <br>
&gt; call curl_slist_free_all to the destructor solves the issue.<br>
&gt; &gt; <br>
&gt; &gt; &nbsp; &nbsp;Environment: <br>
&gt; &gt; Xerces-c 3.1.1<br>
&gt; &gt; curl_version: libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3<br>
&gt; &gt; Mac OS X 10.6.7, i686-apple-darwin10-g++-4.2.1<br>
&gt; &gt; <br>
&gt; &gt; &nbsp;was:Xerces-c 3.1.1, Mac OS X 10.6.7, \
i686-apple-darwin10-g++-4.2.1<br> &gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt;&gt; Custom HTTP headers missing with CURL NetAccessor <br>
&gt; &gt;&gt; --------------------------------------------------<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Key: \
XERCESC-1963<br> &gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;URL: <a href="https://issues.apache.org/jira/browse/XERCESC-1963">https://issues.apache.org/jira/browse/XERCESC-1963</a><br>
 &gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Project: Xerces-C++<br>
&gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; Issue Type: Bug<br>
&gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; Components: Utilities<br>
&gt; &gt;&gt; &nbsp; Affects Versions: 3.1.1<br>
&gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;Environment: Xerces-c 3.1.1<br>
&gt; &gt;&gt; curl_version: libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3<br>
&gt; &gt;&gt; Mac OS X 10.6.7, i686-apple-darwin10-g++-4.2.1<br>
&gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Reporter: Eric Swalens<br>
&gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Priority: Minor<br>
&gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Labels: patch<br>
&gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;Attachments: \
CurlURLInputStream-headers-0.1.patch<br> &gt; &gt;&gt; <br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; It seems that the custom headers set using XMLNetHTTPInfo are <br>
&gt; missing from the actual HTTP request when the CURLNetAccessor is <br>
&gt; used. The SocketNetAccessor does not show this problem.<br>
&gt; &gt;&gt; The headerList in the CurlURLInputStream constructor is correctly<br>
&gt; built but from what I understand of the CURL documentation the list <br>
&gt; cannot be freed until the GET request has been made. Currently the <br>
&gt; list feed right after setting the CURLOPT_HTTPHEADER. Delaying the <br>
&gt; call curl_slist_free_all to the destructor solves the issue (patch \
attached).<br> &gt; &gt; <br>
&gt; &gt; --<br>
&gt; &gt; This message is automatically generated by JIRA.<br>
&gt; &gt; For more information on JIRA, see: <a \
href="http://www.atlassian.com/software/jira">http://www.atlassian.com/software/jira</a><br>
 &gt; &gt; <br>
&gt; &gt; ---------------------------------------------------------------------<br>
&gt; &gt; To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org<br>
&gt; &gt; For additional commands, e-mail: c-dev-help@xerces.apache.org<br>
&gt; &gt; <br>
&gt; <br>
&gt; <br>
&gt; ---------------------------------------------------------------------<br>
&gt; To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org<br>
&gt; For additional commands, e-mail: c-dev-help@xerces.apache.org</tt></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic