![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package xsp checked in at Fri Mar 2 10:37:23 CET 2007. -------- --- xsp/xsp.changes 2007-01-23 01:50:04.000000000 +0100 +++ xsp/xsp.changes 2007-03-02 01:31:47.702440000 +0100 @@ -1,0 +2,7 @@ +Fri Mar 2 01:28:00 CET 2007 - wberrier@suse.de + +- Update Update to 1.2.3 + -Bug fix #80230 (prevents possible nullref) + -Support for response header encoding + +------------------------------------------------------------------- Old: ---- xsp-1.2.1.tar.gz New: ---- xsp-1.2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xsp.spec ++++++ --- /var/tmp/diff_new_pack.HD8333/_old 2007-03-02 10:22:26.000000000 +0100 +++ /var/tmp/diff_new_pack.HD8333/_new 2007-03-02 10:22:26.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package xsp (Version 1.2.1) +# spec file for package xsp (Version 1.2.3) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -19,8 +19,8 @@ License: GNU General Public License (GPL) Group: Productivity/Networking/Web/Servers Autoreqprov: on -Version: 1.2.1 -Release: 14 +Version: 1.2.3 +Release: 1 Summary: Small Web Server Hosting ASP.NET Source: %{name}-%{version}.tar.gz #Patch: xsp-libexecdir.patch @@ -75,7 +75,11 @@ %{prefix}/lib/mono/2.0/mod-mono-server2.exe %doc NEWS README -%changelog -n xsp +%changelog +* Fri Mar 02 2007 - wberrier@suse.de +- Update Update to 1.2.3 + -Bug fix #80230 (prevents possible nullref) + -Support for response header encoding * Tue Jan 23 2007 - ro@suse.de - drop requires for gnome-filesystem * Sat Dec 02 2006 - wberrier@suse.de ++++++ xsp-1.2.1.tar.gz -> xsp-1.2.3.tar.gz ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/xsp-1.2.1/ChangeLog new/xsp-1.2.3/ChangeLog --- old/xsp-1.2.1/ChangeLog 2006-11-17 19:54:54.000000000 +0100 +++ new/xsp-1.2.3/ChangeLog 2007-01-25 19:32:07.000000000 +0100 @@ -1,3 +1,20 @@ +2007-01-25 Wade Berrier <wberrier@novell.com> + + * configure.in: version bump -> 1.2.3 + +2007-01-05 Marek Habersack <grendello@gmail.com> + + * src/Mono.WebServer/XSPWorkerRequest.cs: use the configured + header encoding when outputting the headers. + + * src/Mono.WebServer/MonoWorkerRequest.cs: implement support for + response header encoding. + +2006-12-23 Gonzalo Paniagua Javier <gonzalo@ximian.com> + + * src/Mono.WebServer/ApplicationServer.cs: set the server as stopped + early on to prevent a possible nullref. Closes bug #80230. + 2006-11-17 Wade Berrier <wberrier@novell.com> * configure.in: version bump -> 1.2.1 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/xsp-1.2.1/configure new/xsp-1.2.3/configure --- old/xsp-1.2.1/configure 2006-11-17 19:55:08.000000000 +0100 +++ new/xsp-1.2.3/configure 2007-01-25 19:32:15.000000000 +0100 @@ -1620,7 +1620,7 @@ # Define the identity of the package. PACKAGE=xsp - VERSION=1.2.1 + VERSION=1.2.3 cat >>confdefs.h <<_ACEOF diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/xsp-1.2.1/configure.in new/xsp-1.2.3/configure.in --- old/xsp-1.2.1/configure.in 2006-11-17 19:54:54.000000000 +0100 +++ new/xsp-1.2.3/configure.in 2007-01-25 19:32:07.000000000 +0100 @@ -1,7 +1,7 @@ AC_PREREQ(2.57) AC_INIT(src/server.cs) AC_CANONICAL_SYSTEM -AM_INIT_AUTOMAKE(xsp, 1.2.1) +AM_INIT_AUTOMAKE(xsp, 1.2.3) AM_MAINTAINER_MODE AC_PROG_INSTALL diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/xsp-1.2.1/man/xsp.1.in new/xsp-1.2.3/man/xsp.1.in --- old/xsp-1.2.1/man/xsp.1.in 2006-07-06 00:27:10.000000000 +0200 +++ new/xsp-1.2.3/man/xsp.1.in 2007-01-25 19:32:07.000000000 +0100 @@ -190,7 +190,7 @@ .TP .I \-\-terminate (mod-mono-server only) Gracefully terminates a running mod-mono-server instance. All other -options but --filename or --address and --port" are ignored if this +options but --filename or --address and --port are ignored if this option is provided. .TP .I \-\-version @@ -244,6 +244,20 @@ .SH AUTHORS The Mono XSP server was written by Gonzalo Paniagua Javier (gonzalo@ximian.com). +.SH ENVIRONMENT VARIABLES +.TP +.I "MONO_ASPNET_NODELETE" +If set to any value, temporary source files generated by ASP.NET support +classes will not be removed. They will be kept in the user's temporary +directory. +.SH FILES +.TP +.B Web.config, web.config +.Sp +ASP.NET applications are configured through these files, the +configuration is done on a per-directory basis. For more information +on this subject see the http://www.mono-project.com/Config_system.web +page. .SH SEE ALSO .BR mono (1), dbsessmgr (1), asp-state (1), mod_mono (8), makecert(1) .PP @@ -257,4 +271,7 @@ The Mono project (http://www.go-mono.com) is a collaborative effort led by Novell (http://www.novell.com) to implement an open source version of the .NET Framework. +.SH MAILING LISTS +Mailing lists are listed at the +http://www.mono-project.com/Mailing_Lists diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/xsp-1.2.1/src/Mono.WebServer/ApplicationServer.cs new/xsp-1.2.3/src/Mono.WebServer/ApplicationServer.cs --- old/xsp-1.2.1/src/Mono.WebServer/ApplicationServer.cs 2006-10-12 22:03:48.000000000 +0200 +++ new/xsp-1.2.3/src/Mono.WebServer/ApplicationServer.cs 2007-01-25 19:32:07.000000000 +0100 @@ -280,10 +280,10 @@ void RealStop () { + started = false; runner.Abort (); listen_socket.Close (); UnloadAll (); - started = false; Thread.Sleep (1000); } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/xsp-1.2.1/src/Mono.WebServer/MonoWorkerRequest.cs new/xsp-1.2.3/src/Mono.WebServer/MonoWorkerRequest.cs --- old/xsp-1.2.1/src/Mono.WebServer/MonoWorkerRequest.cs 2006-08-25 21:55:56.000000000 +0200 +++ new/xsp-1.2.3/src/Mono.WebServer/MonoWorkerRequest.cs 2007-01-25 19:32:07.000000000 +0100 @@ -83,6 +83,7 @@ { IApplicationHost appHostBase; Encoding encoding; + Encoding headerEncoding; byte [] queryStringBytes; string hostVPath; string hostPath; @@ -135,6 +136,24 @@ set { encoding = value; } } + protected virtual Encoding HeaderEncoding { + get { +#if NET_2_0 + if (headerEncoding == null) { + Encoding enc = HttpContext.Current.Response.HeaderEncoding; + if (enc != null) + headerEncoding = enc; + else + headerEncoding = this.Encoding; + } + return headerEncoding; + +#else + return this.Encoding; +#endif + } + } + public override string GetAppPath () { return HostVPath; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/xsp-1.2.1/src/Mono.WebServer/XSPWorkerRequest.cs new/xsp-1.2.3/src/Mono.WebServer/XSPWorkerRequest.cs --- old/xsp-1.2.1/src/Mono.WebServer/XSPWorkerRequest.cs 2006-11-17 19:54:53.000000000 +0100 +++ new/xsp-1.2.3/src/Mono.WebServer/XSPWorkerRequest.cs 2007-01-25 19:32:07.000000000 +0100 @@ -340,7 +340,7 @@ } responseHeaders.Append ("\r\n"); - return Encoding.GetBytes (responseHeaders.ToString ()); + return HeaderEncoding.GetBytes (responseHeaders.ToString ()); } public override void FlushResponse (bool finalFlush) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org