You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Savva Kolbachev (JIRA)" <ji...@apache.org> on 2016/06/01 06:54:12 UTC

[jira] [Commented] (CAY-2089) HTTP connections aren't always closed in new ROP implementation

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

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

Looks like we also need to handle error stream. 

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