[rtmpdump] [PATCH] replace gethostbyname with getaddrinfo

Florian Wickert fw at ferncast.de
Mon Mar 2 10:54:15 EET 2020

Thats right, getaddrinfo also supports IPv6 but my patch is only a 
drop-in replacement to fix threading problems.
Due to a serious lack of time I have to leave this to someone else 

On 2/28/20 1:13 PM, David Woodhouse wrote:
> On Thu, 2020-01-30 at 12:29 +0100, Florian Wickert wrote:
>>   From c8bbf52e7a46ab238da1bd59d2afb98f6b46359c Mon Sep 17 00:00:00
>> 2001
>> From: Florian Wickert <fw at ferncast.de>
>> Date: Thu, 30 Jan 2020 10:47:19 +0100
>> Subject: [PATCH 1/1] replace gethostbyname with getaddrinfo
>> getaddrinfo is guaranteed to be thread-safe in contrast to
>> gethostbyname.
> It also allows us to support IPv6, but I note your patch doesn't do
> that. Could it?
> This year marks the 25th anniversary of the publication of RFC1883, so
> it would only be a quarter of a century behind the times... :)

Florian Wickert, M.Sc.
Ferncast GmbH
Gallierstr. 41a, 52074 Aachen

Phone: +49 241 99034567
Web: www.ferncast.de

More information about the rtmpdump mailing list