curlhttpsink: If domain name is used instead of IP address the process fails with a timeout
Hi, I have a problem using the curlhttpsink in combination with name resolution. If I, e.g., use the command
gst-launch-1.0 filesrc location=test.wav ! decodebin3 ! curlhttpsink location=http://ptsv2.com/t/y0gd6-1548434111
the command times out and the curlhttpsink error tells that name resolution has failed. If I use
gst-launch-1.0 filesrc location=test.wav ! decodebin3 ! curlhttpsink location=http://216.239.32.21/t/y0gd6-1548434111
everything works fine. I already found out that this has something to do the async processing of the name resolver and found a fix that works for me that is included in 0495511a. It would be nice if someone could have a look at the patch and maybe has a better idea to solve the issue. If this solutions looks OK, I would do a merge request in the master branch.
Best regards, Thomas