curl-users
Re: A small nudge to fix a frequent -X misuse?
From: Alex Bligh <alex_at_alex.org.uk>
Date: Fri, 11 Sep 2015 15:57:14 +0100
Date: Fri, 11 Sep 2015 15:57:14 +0100
Daniel,
On 11 Sep 2015, at 13:58, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Sun, 30 Aug 2015, Daniel Stenberg wrote:
>
>> I wanted to see if anyone has opinions about a patch similar to the attached one. It will cause a warning get output if a pointless -X is used, to help the user figure this out. I also took the change to warn for -XHEAD as that will most likely cause a hanging connection in most cases.
>
> Hi all,
>
> I've now merged a modified version of this. I appreciated the feedback I got on this so the differences from what I initially suggested are:
>
> 1 - the message is only shown in verbose mode
>
> 2 - the message is now called 'note:' and not a warning to make it less scary
Much prefer this.
-- Alex Bligh ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2015-09-11