cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Savva Kolbachev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-2089) HTTP connections aren't always closed in new ROP implementation
Date Wed, 01 Jun 2016 06:55:12 GMT

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

Savva Kolbachev commented on CAY-2089:
--------------------------------------

Here are some useful links about working with HttpURLConnection
http://stackoverflow.com/questions/1440957/httpurlconnection-getresponsecode-returns-1-on-second-invocation/1441491#1441491
http://stackoverflow.com/questions/1936872/how-to-keep-multiple-java-httpconnections-open-to-same-destination/1936965#1936965
http://techblog.bozho.net/caveats-of-httpurlconnection/

> HTTP connections aren't always closed in new ROP implementation
> ---------------------------------------------------------------
>
>                 Key: CAY-2089
>                 URL: https://issues.apache.org/jira/browse/CAY-2089
>             Project: Cayenne
>          Issue Type: Bug
>          Components: ROP
>    Affects Versions: 4.0.M4
>            Reporter: Dzmitry Kazimirchyk
>            Assignee: Savva Kolbachev
>
> The new ROP implementation appears to have a bug which results in HTTP connections aren't
closing properly. 
> The fix is to always close input stream object we get from URLConnection after we done
reading and deserializing it.



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

Mime
View raw message