diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim.Servers/BaseHttpServer.cs | 8 | ||||
-rw-r--r-- | OpenSim.Servers/OpenSim.Servers.dll.build | 102 |
2 files changed, 55 insertions, 55 deletions
diff --git a/OpenSim.Servers/BaseHttpServer.cs b/OpenSim.Servers/BaseHttpServer.cs index bd5eed4..a14e5c3 100644 --- a/OpenSim.Servers/BaseHttpServer.cs +++ b/OpenSim.Servers/BaseHttpServer.cs | |||
@@ -155,7 +155,7 @@ namespace OpenSim.Servers | |||
155 | 155 | ||
156 | public virtual void HandleRequest(Object stateinfo) | 156 | public virtual void HandleRequest(Object stateinfo) |
157 | { | 157 | { |
158 | try { | 158 | try { |
159 | HttpListenerContext context = (HttpListenerContext)stateinfo; | 159 | HttpListenerContext context = (HttpListenerContext)stateinfo; |
160 | 160 | ||
161 | HttpListenerRequest request = context.Request; | 161 | HttpListenerRequest request = context.Request; |
@@ -212,9 +212,9 @@ namespace OpenSim.Servers | |||
212 | response.SendChunked = false; | 212 | response.SendChunked = false; |
213 | response.ContentLength64 = buffer.Length; | 213 | response.ContentLength64 = buffer.Length; |
214 | output.Write(buffer, 0, buffer.Length); | 214 | output.Write(buffer, 0, buffer.Length); |
215 | output.Close(); | 215 | output.Close(); |
216 | } catch (Exception e) { | 216 | } catch (Exception e) { |
217 | Console.WriteLine(e.ToString()); | 217 | Console.WriteLine(e.ToString()); |
218 | } | 218 | } |
219 | } | 219 | } |
220 | 220 | ||
diff --git a/OpenSim.Servers/OpenSim.Servers.dll.build b/OpenSim.Servers/OpenSim.Servers.dll.build index 17a233e..61475ec 100644 --- a/OpenSim.Servers/OpenSim.Servers.dll.build +++ b/OpenSim.Servers/OpenSim.Servers.dll.build | |||
@@ -1,51 +1,51 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim.Servers" default="build"> | 2 | <project name="OpenSim.Servers" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | 6 | <copy todir="${project::get-base-directory()}/${build.dir}"> |
7 | <fileset basedir="${project::get-base-directory()}"> | 7 | <fileset basedir="${project::get-base-directory()}"> |
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenSim.Servers" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Servers" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="BaseHttpServer.cs" /> | 14 | <include name="BaseHttpServer.cs" /> |
15 | <include name="BaseServer.cs" /> | 15 | <include name="BaseServer.cs" /> |
16 | <include name="IRestHandler.cs" /> | 16 | <include name="IRestHandler.cs" /> |
17 | <include name="LocalUserProfileManager.cs" /> | 17 | <include name="LocalUserProfileManager.cs" /> |
18 | <include name="LoginResponse.cs" /> | 18 | <include name="LoginResponse.cs" /> |
19 | <include name="LoginServer.cs" /> | 19 | <include name="LoginServer.cs" /> |
20 | <include name="OpenGridProtocol.cs" /> | 20 | <include name="OpenGridProtocol.cs" /> |
21 | <include name="XmlRpcMethod.cs" /> | 21 | <include name="XmlRpcMethod.cs" /> |
22 | </sources> | 22 | </sources> |
23 | <references basedir="${project::get-base-directory()}"> | 23 | <references basedir="${project::get-base-directory()}"> |
24 | <lib> | 24 | <lib> |
25 | <include name="${project::get-base-directory()}" /> | 25 | <include name="${project::get-base-directory()}" /> |
26 | <include name="${project::get-base-directory()}/${build.dir}" /> | 26 | <include name="${project::get-base-directory()}/${build.dir}" /> |
27 | </lib> | 27 | </lib> |
28 | <include name="System.dll" /> | 28 | <include name="System.dll" /> |
29 | <include name="System.Xml.dll" /> | 29 | <include name="System.Xml.dll" /> |
30 | <include name="../bin/OpenSim.Framework.dll" /> | 30 | <include name="../bin/OpenSim.Framework.dll" /> |
31 | <include name="../bin/OpenSim.Framework.Console.dll" /> | 31 | <include name="../bin/OpenSim.Framework.Console.dll" /> |
32 | <include name="../bin/libsecondlife.dll" /> | 32 | <include name="../bin/libsecondlife.dll" /> |
33 | <include name="../bin/XMLRPC.dll" /> | 33 | <include name="../bin/XMLRPC.dll" /> |
34 | </references> | 34 | </references> |
35 | </csc> | 35 | </csc> |
36 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" /> | 36 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" /> |
37 | <mkdir dir="${project::get-base-directory()}/../bin/"/> | 37 | <mkdir dir="${project::get-base-directory()}/../bin/"/> |
38 | <copy todir="${project::get-base-directory()}/../bin/"> | 38 | <copy todir="${project::get-base-directory()}/../bin/"> |
39 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 39 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
40 | <include name="*.dll"/> | 40 | <include name="*.dll"/> |
41 | <include name="*.exe"/> | 41 | <include name="*.exe"/> |
42 | </fileset> | 42 | </fileset> |
43 | </copy> | 43 | </copy> |
44 | </target> | 44 | </target> |
45 | <target name="clean"> | 45 | <target name="clean"> |
46 | <delete dir="${bin.dir}" failonerror="false" /> | 46 | <delete dir="${bin.dir}" failonerror="false" /> |
47 | <delete dir="${obj.dir}" failonerror="false" /> | 47 | <delete dir="${obj.dir}" failonerror="false" /> |
48 | </target> | 48 | </target> |
49 | <target name="doc" description="Creates documentation."> | 49 | <target name="doc" description="Creates documentation."> |
50 | </target> | 50 | </target> |
51 | </project> | 51 | </project> |