Permalink
Commits on Jan 13, 2011
  1. 2.10

    Andrew Jorgensen committed Jan 13, 2011
  2. Fix XSP build

    grendello committed Jan 13, 2011
Commits on Jan 3, 2011
  1. [xsp] No need to sleep here.

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

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

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

    This reverts commit 9455071.
    gonzalop committed Dec 21, 2010
Commits on Dec 16, 2010
  1. [xsp] Be more careful with memory allocation in ModMonoRequest.FillBu…

    …ffer and dispose the worker properly
    
    FillBuffer will not blindly allocate the byte array with the size equal to the count value passed
    to it. Instead it uses a maximum of 128k for the fill_buffer array and reads the data in chunks,
    should the requested count exceed the configured maximum.
    Additionally, ModMonoApplicationHost.ProcessRequest catches early errors in ModMonoWorkerRequest and
    disposes of both the request and the worker by calling EndOfRequest.
    ModMonoRequest and ModMonoWorker are now IDisposable.
    grendello committed Dec 16, 2010
Commits on Dec 9, 2010
Commits on Dec 2, 2010
  1. [FastCGI] Avoid problems converting the header names.

    	Avoid problems with Substring when parsing and converting headers.
    	This fixes bug #626131.
    gonzalop committed Dec 2, 2010
Commits on Nov 20, 2010
  1. Test

    gonzalop committed Nov 20, 2010
Commits on Nov 6, 2010
  1. [xsp] test, please ignore

    grendello committed Nov 6, 2010
Commits on Nov 5, 2010
  1. Ignore exception closing socket

    	Ignore exception closing socket and let the rest of the cleanup take
    	place.
    
    	Patch from Tiaan Geldenhuys.
    gonzalop committed Nov 5, 2010
Commits on Oct 23, 2010
  1. [xsp] Improved single app mode shutdown sequence.

    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.
    grendello committed Oct 23, 2010
Commits on Oct 19, 2010
  1. [xsp] Added Mono.WebServer.FastCGI documentation

    The documentation was extracted from the inline code comments.
    grendello committed Oct 19, 2010
Commits on Sep 28, 2010
  1. Use SocketAsyncEventArgs

    	Use (and reuse) SocketAsyncEventArgs for Accept.
    gonzalop committed Sep 27, 2010
  2. [mod_mono] Fix for bug #642176. Make sure the application server has …

    …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 '/')
    grendello committed Sep 28, 2010
Commits on Sep 7, 2010
  1. [xsp] Fix for bug #636763. Mono.Data.Sqlite must be used since Mono.D…

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

    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.
    grendello committed Sep 1, 2010
  2. Revert "Add xsp*.exe references to the .pc files"

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

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

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

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

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

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

    gonzalop committed Aug 24, 2010
  2. Added missing locks

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

    …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 ().
    grendello committed Aug 11, 2010
  2. Revert "[xsp] Fix for bug #575600. MonoWorkerRequest.MapPath with mul…

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

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

    …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 ().
    grendello committed Aug 11, 2010
Commits on Aug 9, 2010
  1. [xsp] Output all early errors to stderr

    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.
    grendello committed Aug 9, 2010