cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl_resolv and OOM

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 28 Oct 2011 09:20:05 +0200 (CEST)

On Thu, 27 Oct 2011, Yang Tse wrote:

> 1) Allow Curl_resolv() to return a new CURLRESOLV_ERROR_NOMEM or
> CURLRESOLV_NOMEM for OOM failed result, and return CURLRESOLV_ERROR for
> 'inability to resolve due to any other reasons'.

This is the way I prefer. Cleaner and more in the way one would assume it
would work I think.

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