duffleit / xmlrpcnet

Automatically exported from code.google.com/p/xmlrpcnet
0 stars 0 forks source link

XmlRpcListenerService.ProcessRequest may not close stream in case of exception #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
XmlRpcListenerService.ProcessRequest(...) catches any exception. But the
stream is only closed in the try - block. In some (exceptional) cases this
leads to an open stream, which is never closed. So the server rest in an
endless loop. Is it possible to add finally-block like this:

finally

{
RequestContext.Response.OutputStream.Close();

}

Original issue reported on code.google.com by edwardfo...@gmail.com on 30 May 2008 at 4:07

GoogleCodeExporter commented 9 years ago
Fixed in revision 63.

Original comment by ChasC...@gmail.com on 30 Aug 2008 at 7:08

GoogleCodeExporter commented 9 years ago

Original comment by ChasC...@gmail.com on 7 Dec 2008 at 10:03

GoogleCodeExporter commented 9 years ago

Original comment by ChasC...@gmail.com on 7 Dec 2008 at 10:03