[ 
https://issues.apache.org/jira/browse/MESOS-4853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15880594#comment-15880594
 ] 

Frank Scholten commented on MESOS-4853:
---------------------------------------

There should be a way to configure {{http::Headers}} otherwise you can't pass 
in authentication tokens that are needed for pulling Docker images from the 
registry.

> Considering using libcurl multi interface to implement 'curl' in Mesos.
> -----------------------------------------------------------------------
>
>                 Key: MESOS-4853
>                 URL: https://issues.apache.org/jira/browse/MESOS-4853
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Jie Yu
>            Assignee: Jie Yu
>
> Reference:
> https://curl.haxx.se/libcurl/c/libcurl-multi.html
> Currently, some URI fetchers rely on 'curl' command directly (using 
> subprocess). This is not ideal. The libcurl easy interface is blocking, so it 
> does not compose well with our async environment. However, the multi 
> interface seems to be suitable for our async environment. The tricky part is 
> that we need to hook the fd selecting logic with our underlying 
> libev/libevent runtime, but this should be doable.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to