cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-2856638 ] --fail removes response from --trace data

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 11 Sep 2009 09:42:47 +0000

Bugs item #2856638, was opened at 2009-09-11 05:37
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2856638&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: debug/info output
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Noah Misch (guysmiley)
Assigned to: Daniel Stenberg (bagder)
Summary: --fail removes response from --trace data

Initial Comment:
When using --fail, the --trace file also omits the server response.

I expected the-trace0 and the-trace1 to compare equal:
curl --trace the-trace0 http://curl.haxx.se/nosuch
curl --trace the-trace1 --fail http://curl.haxx.se/nosuch
diff -u the-trace0 the-trace1

I see this behavior with 7.19.6, 7.18.0 and 7.12.1.

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2009-09-11 11:42

Message:
The purpose of --fail is to prevent stuff to get written/sent anywhere when
the request didn't succeed. I don't see the benefit of making a lot of
effort to make sure --trace works identically with --fail as without it.
Why is this important to you?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2856638&group_id=976
Received on 2009-09-11

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET