You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org> on 2006/05/09 23:10:05 UTC

[jira] Geschlossen: (XMLRPC-43) LiteXmlRpcTransport throws IOExcpetion 'socket closed'

     [ http://issues.apache.org/jira/browse/XMLRPC-43?page=all ]
     
Jochen Wiedmann closed XMLRPC-43:
---------------------------------

    Resolution: Fixed
     Assign To:     (was: rpc-dev mailing list)

Version 1 is no longer supported. It is unknown, whether this problem does still apply to version 2, not to mention version 3. If it does, please reopen the issue.


> LiteXmlRpcTransport throws IOExcpetion 'socket closed'
> ------------------------------------------------------
>
>          Key: XMLRPC-43
>          URL: http://issues.apache.org/jira/browse/XMLRPC-43
>      Project: XML-RPC
>         Type: Bug

>   Components: Source
>     Versions: 1.2
>  Environment: Operating System: All
> Platform: All
>     Reporter: Spencer Proffit

>
> When receiveing a response that isn't loaded into the input stream buffer, you
> will get an IOException caused by socket closed.
> This is caused in sendXmlRpc where closeConnection is called (unless keepalive
> is on) before 'in' is returned.  This means that 'close' is called on the socket
> before the caller of 'sendXmlRpc' ever gets the InputStream.  If the response is
> already loaded in the BufferedInputStream there is no problem, but for slower,
> larger responses, you will get the Exception.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira