Permalink
Commits on Jan 3, 2011
  1. Bump version to 2.8.2

    Andrew Jorgensen
    Andrew Jorgensen committed Jan 3, 2011
Commits on Dec 24, 2010
  1. Properly close the server socket.

    gonzalop committed Dec 24, 2010
    	The server socket was never properly closed on shutdown.
Commits on Dec 21, 2010
  1. If a handler is not found, don't decline the request

    gonzalop committed Dec 21, 2010
    	When we receive a request and have no application to handle it, mark it
    	as not found.
Commits on Dec 16, 2010
  1. Revert "[xsp] Improved single app mode shutdown sequence."

    gonzalop committed Dec 16, 2010
    This reverts commit 9455071.
Commits on Dec 13, 2010
Commits on Dec 2, 2010
  1. [FastCGI] Avoid problems converting the header names.

    gonzalop committed Dec 2, 2010
    	Avoid problems with Substring when parsing and converting headers.
    	This fixes bug #626131.
Commits on Nov 5, 2010
  1. Ignore exception closing socket

    gonzalop committed Nov 5, 2010
    	Ignore exception closing socket and let the rest of the cleanup take
    	place.
    
    	Patch from Tiaan Geldenhuys.
Commits on Nov 3, 2010
  1. bump version

    Andrew Jorgensen
    Andrew Jorgensen committed Nov 3, 2010
Commits on Oct 25, 2010
  1. [xsp] Improved single app mode shutdown sequence.

    grendello committed Oct 23, 2010
    When XSP/mod-mono-server are operating in the single app mode, the application
    runs in the same AppDomain what the Server instance. This requires special attention
    to handling of the AppDomain's unload. This commit adds code which waits for the
    AppDomain unload process to complete before recreating the domain. Without this code
    it may happen that the main listening socket will not be destroyed in the "old" domain
    before the "new" domain attempts to bind its own listening socket to the same port (which
    leads to bind failure and exit from the process). The code is not very elegant but it is
    portable.
Commits on Sep 28, 2010
  1. [mod_mono] Fix for bug #642176. Make sure the application server has …

    grendello committed Sep 28, 2010
    …correct physical root set
    
    When creating the ApplicationServer instance from a new domain, make sure that IApplicationHost
    instance for the current application is associated with the correct ApplicationServer instance,
    or otherwise MapPath for applications served from non-root virtual paths will fail to map paths
    properly (physical root will remain at '/')
Commits on Sep 7, 2010
  1. [xsp] Fix for bug #636763. Mono.Data.Sqlite must be used since Mono.D…

    grendello committed Sep 7, 2010
    …ata.SqliteClient is deprecated.
Commits on Sep 1, 2010
  1. [xsp] Move a few XSP classes back to Mono.WebServer.dll

    grendello authored and Andrew Jorgensen committed Sep 1, 2010
    There exist 3rd party application which use xsp.exe classes for hosting. Those
    classes used to be part of Mono.WebServer.dll, which was a design mistake, and were
    moved out of it to xsp.exe back in March 2010. This commit puts them back in the dll
    but marks them as [Obsolete]. The classes will be removed from the dll when Mono 3.0
    is released.
  2. Revert "Add xsp*.exe references to the .pc files"

    Andrew Jorgensen
    Andrew Jorgensen committed Sep 1, 2010
    This reverts commit ec0346d.
Commits on Aug 31, 2010
  1. Re-add the .ctor that takes only one argument

    gonzalop authored and Andrew Jorgensen committed Aug 31, 2010
    	This is nedeed by monotools-server.
  2. Add xsp*.exe references to the .pc files

    Andrew Jorgensen
    Andrew Jorgensen committed Aug 31, 2010
    APIs that are already in use were moved to xsp*.exe
Commits on Aug 27, 2010
  1. Bump version to 2.8

    Andrew Jorgensen
    Andrew Jorgensen committed Aug 27, 2010
Commits on Aug 26, 2010
  1. [xsp] Socket must be unregistered before closing it.

    grendello committed Aug 26, 2010
    Or otherwise its GetHashCode () will return -1 which will cause the unregistration
    to fail
  2. [xsp] Closing the socket should be done in its own try/catch block

    grendello committed Aug 26, 2010
    Or otherwise we might leak a socket in XSPWorker.Close.
Commits on Aug 24, 2010
  1. Add .gitignore

    gonzalop committed Aug 24, 2010
  2. Added missing locks

    gonzalop committed Aug 24, 2010
    	Added locks around 'connections' since it can be accessed/modified by
    	multiple threads at the same time.
    	Fixes bug #633474.
Commits on Aug 11, 2010
  1. [xsp] Partial fix for bug #575600. MonoWorkerRequest.MapPath with mul…

    grendello committed Aug 11, 2010
    …tiple apps should use physical server root.
    
    When xsp is configured to serve two virtual applications and one of them attempts to map a file from
    the other, the returned physical path must be composed using the XSP's physical root as the base path - not
    the current application's physical path. This is consistent with the way IIS works.
    To achieve this, the commit adds a new PhysicalRoot property to the ApplicationServer class. The property is
    used in MonoWorkerRequest.MapPath ().
  2. Revert "[xsp] Fix for bug #575600. MonoWorkerRequest.MapPath with mul…

    grendello committed Aug 11, 2010
    …tiple apps should use physical server root."
    
    This reverts commit 7748f11 because it breaks some apps.
    More testing is needed.
  3. Revert "[xsp] FastCGI backend must use new ApplicationServer construc…

    grendello committed Aug 11, 2010
    …tor as well."
    
    This reverts commit 05263ba because the changes break
    some apps. More testing is needed.
  4. [xsp] Fix for bug #575600. MonoWorkerRequest.MapPath with multiple ap…

    grendello committed Aug 11, 2010
    …ps should use physical server root.
    
    When xsp is configured to serve two virtual applications and one of them attempts to map a file from
    the other, the returned physical path must be composed using the XSP's physical root as the base path - not
    the current application's physical path. This is consistent with the way IIS works.
    To achieve this, the commit adds a new PhysicalRoot property to the ApplicationServer class. The property is
    used in MonoWorkerRequest.MapPath ().
Commits on Aug 9, 2010
  1. [xsp] Output all early errors to stderr

    grendello committed Aug 9, 2010
    If an error occurs during early phase of mod-mono-server startup (including exceptions while
    parsing config files) make sure the error and/or exception is output to standard error. The
    reason for this is that mod_mono by default redirects stdout to /dev/null (it doesn't do that if
    the MonoDebug directive is set to 'true').
    Also added an internal class to safely retrieve AppSettings from the config file.
Commits on Jul 22, 2010
  1. Testing 2

    gonzalop committed Jul 22, 2010
  2. Testing

    gonzalop committed Jul 22, 2010
Commits on Jun 15, 2010
  1. Do not use DISTFILES, use EXTRA_DIST instead or else Makefile.{am,in}…

    grendello committed Jun 15, 2010
    … won't be included
    
    svn path=/trunk/xsp/; revision=158983
  2. Fix make dist

    grendello committed Jun 15, 2010
    svn path=/trunk/xsp/; revision=158982
Commits on Jun 2, 2010
  1. 2010-06-02 Marek Habersack <mhabersack@novell.com>

    grendello committed Jun 2, 2010
    	* ModMonoWorkerRequest.cs: avoid double handle close when sending
    	response from a file in certain cases.
    
    2010-06-02  Marek Habersack  <mhabersack@novell.com>
    
    	* XSPWorkerRequest.cs: avoid double handle close when sending
    	response from a file in certain cases.
    
    svn path=/trunk/xsp/; revision=158326
Commits on May 28, 2010
  1. 2010-05-28 Marek Habersack <mhabersack@novell.com>

    grendello committed May 28, 2010
    	* ApplicationServer.cs: OnAccept sends BeginAccept exceptions back
    	to the client and then re-throws the exception. Fixes bug #609787
    
    svn path=/trunk/xsp/; revision=158119
Commits on Apr 13, 2010
  1. 2010-04-13 Marek Habersack <mhabersack@novell.com>

    grendello committed Apr 13, 2010
    	* ModMonoRequest.cs: SendResponseFromMemory must advance the
    	pointer when not on Linux.
    
    svn path=/trunk/xsp/; revision=155319