cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl-7.17.1 crashes on getprotobyname() problem in RHEL5.1

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 2 May 2008 22:14:57 +0200 (CEST)

On Fri, 2 May 2008, Dan Fandrich wrote:

>> thread-safe, but it works differently on different platforms. Also, the
>> number assigned to the TCP protocol doesn't change every week, so what
>> about just removing the call as Jean-François suggested and relying on the
>> IPPROTO_TCP constant?
>
> Sounds like an effective fix!

I'm all for this too. Of course it could also be suitable with a comment in
the code explaining the results of this thread, for future readers!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-05-02