jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-1011) Docker: HTTP client connection has to be closed after calling MiscApi.build() method
Date Fri, 02 Oct 2015 14:04:26 GMT

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

ASF subversion and git services commented on JCLOUDS-1011:
----------------------------------------------------------

Commit f1a53f0ff5f3d7dc97a1bfd340aec6b4ddeb3ba7 in jclouds-labs's branch refs/heads/master
from [~kwart]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds-labs.git;h=f1a53f0 ]

[JCLOUDS-1011] force closing HTTP client connection after using Docker build REST API method


> Docker: HTTP client connection has to be closed after calling MiscApi.build() method
> ------------------------------------------------------------------------------------
>
>                 Key: JCLOUDS-1011
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1011
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-labs
>    Affects Versions: 1.9.1
>            Reporter: Josef Cacek
>              Labels: docker
>
> There is a problem in reusing HTTP connections after calling docker command to build
new image. 
> The Docker sometimes return HTTP response 500 (Internal server error) during subsequent
request going through the same connection. The response body is:
> {code}
> http: Hijack is incompatible with use of CloseNotifier
> {code}
> For details on Docker side look at:
> * https://github.com/docker/docker/issues/12845
> * https://github.com/docker/compose/pull/1374
> As a solution in {{MiscApi.build()}} methods we can force closing connection by setting
HTTP header:
> {code}
> Connection: close
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message