cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: [PATCH] Curl_gethostname() may or may not return the hostname as a FQDN

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 13 Sep 2011 22:16:55 +0200 (CEST)

On Tue, 13 Sep 2011, Steve Holme wrote:

> Did you have any more thoughts?
> Are you able to take a look at the patch?
> Did you want me to re-submit it against the latest codebase?

First, thanks for bringing it back. I had pushed it a bit too far away in my
brain to bring it back on my own!

I think making it behave consistently makes sense so please rebase the patch
and resubmit it and let's get it merged.

I also think we should document that an SMTP client using libcurl is
encouraged to provide the actual host name in the URL so that libcurl won't
have to guess (wrongly) about it. It probably makes sense to add a whole
section somewhere about the special things and feature we have in URLs for
protocols. (And refer to that from the CURLOPT_URL description in
curl_easy_setopt.3 and the --url description in curl.1)

Possibly a new section to add to libcurl.3 ?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-13