This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Difference in 32/64-bit curl.


Fredrik Rothamel wrote:
Hi,

I just noticed that in 64-bit cygwin curl always include the http-headers in the response.
(Old behaviour is to only include headers when -i option is specified)

Is this an intentional change?

Unlikely. In this case it should be possible to revert the default -i (--include) with --no-include.

According to a quick gdb session using curl-debug package the corresponding variable config->include_headers is not set during option processing. But later in Curl_setopt(., CURLOPT_HEADER, .) the variable data->set.include_header is set true because some va_arg(param, long) is nonzero.

Possibly a __builtin_va_list related gcc bug.

Christian


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]