[FFmpeg-trac] #7029(avformat:new): libtls: unable to connect to numeric hosts
FFmpeg
trac at avcodec.org
Tue Feb 20 11:08:12 EET 2018
#7029: libtls: unable to connect to numeric hosts
----------------------------------+--------------------------------------
Reporter: chainik | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
{{{
ffmpeg: tls: server name not specified
}}}
The error is caused by no server name being specified, yet verification is
enabled. With a numeric host it passes NULL as the server name to
tls_connect_cbs(), which will cause the "server name not specified"
failure.
https://github.com/FFmpeg/FFmpeg/blob/acdea9e7c56b74b05c56b4733acc855b959ba073/libavformat/tls_libtls.c#L121
We should probably disable at least name verification for numeric hosts.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7029>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list