aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/XmlRpcCS/XmlRpcResponder.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Common/XmlRpcCS/XmlRpcResponder.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Common/XmlRpcCS/XmlRpcResponder.cs b/Common/XmlRpcCS/XmlRpcResponder.cs
index 41f855c..05377a2 100644
--- a/Common/XmlRpcCS/XmlRpcResponder.cs
+++ b/Common/XmlRpcCS/XmlRpcResponder.cs
@@ -30,6 +30,7 @@ namespace Nwc.XmlRpc
30 using System; 30 using System;
31 using System.Xml; 31 using System.Xml;
32 using System.Net.Sockets; 32 using System.Net.Sockets;
33 using System.Text;
33 34
34 /// <summary>The class is a container of the context of an XML-RPC dialog on the server side.</summary> 35 /// <summary>The class is a container of the context of an XML-RPC dialog on the server side.</summary>
35 /// <remarks>Instances of this class maintain the context for an individual XML-RPC server 36 /// <remarks>Instances of this class maintain the context for an individual XML-RPC server
@@ -98,8 +99,9 @@ namespace Nwc.XmlRpc
98 if (Logger.Delegate != null) 99 if (Logger.Delegate != null)
99 Logger.WriteEntry(xmlRpcResp.ToString(), LogLevel.Information); 100 Logger.WriteEntry(xmlRpcResp.ToString(), LogLevel.Information);
100 101
101 XmlRpcServer.HttpHeader(httpReq.Protocol, "text/xml", 0, " 200 OK", httpReq.Output); 102 XmlRpcServer.HttpHeader(httpReq.Protocol, "text/xml", 0, " 200 OK", httpReq.Output);
102 httpReq.Output.Flush(); 103 httpReq.Output.Flush();
104
103 XmlTextWriter xml = new XmlTextWriter(httpReq.Output); 105 XmlTextWriter xml = new XmlTextWriter(httpReq.Output);
104 _serializer.Serialize(xml, xmlRpcResp); 106 _serializer.Serialize(xml, xmlRpcResp);
105 xml.Flush(); 107 xml.Flush();