jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignasi Barrera (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCLOUDS-1011) Docker: HTTP client connection has to be closed after calling MiscApi.build() method
Date Fri, 02 Oct 2015 13:59:26 GMT

     [ https://issues.apache.org/jira/browse/JCLOUDS-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ignasi Barrera updated JCLOUDS-1011:
------------------------------------
    Affects Version/s: 1.9.1

> 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
>
> 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