Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Nov 5, 2010
  1. @gonzalop

    Ignore exception closing socket

    gonzalop authored
    	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 authored
Commits on Oct 25, 2010
  1. @grendello

    [xsp] Improved single app mode shutdown sequence.

    grendello authored
    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. @grendello

    [mod_mono] Fix for bug #642176. Make sure the application server has …

    grendello authored
    …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. @grendello

    [xsp] Fix for bug #636763. Mono.Data.Sqlite must be used since Mono.D…

    grendello authored
    …ata.SqliteClient is deprecated.
Commits on Sep 1, 2010
  1. @grendello

    [xsp] Move a few XSP classes back to Mono.WebServer.dll

    grendello authored Andrew Jorgensen committed
    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 authored
    This reverts commit ec0346d.
Commits on Aug 31, 2010
  1. @gonzalop

    Re-add the .ctor that takes only one argument

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

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

    Andrew Jorgensen authored
Commits on Aug 26, 2010
  1. @grendello

    [xsp] Socket must be unregistered before closing it.

    grendello authored
    Or otherwise its GetHashCode () will return -1 which will cause the unregistration
    to fail
  2. @grendello
  3. @grendello

    [xsp] Closing the socket should be done in its own try/catch block

    grendello authored
    Or otherwise we might leak a socket in XSPWorker.Close.
Commits on Aug 24, 2010
  1. @gonzalop

    Add .gitignore

    gonzalop authored
  2. @gonzalop

    Added missing locks

    gonzalop authored
    	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. @grendello

    [xsp] Partial fix for bug #575600. MonoWorkerRequest.MapPath with mul…

    grendello authored
    …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. @grendello

    Revert "[xsp] Fix for bug #575600. MonoWorkerRequest.MapPath with mul…

    grendello authored
    …tiple apps should use physical server root."
    
    This reverts commit 7748f11 because it breaks some apps.
    More testing is needed.
  3. @grendello

    Revert "[xsp] FastCGI backend must use new ApplicationServer construc…

    grendello authored
    …tor as well."
    
    This reverts commit 05263ba because the changes break
    some apps. More testing is needed.
  4. @grendello
  5. @grendello

    [xsp] Fix for bug #575600. MonoWorkerRequest.MapPath with multiple ap…

    grendello authored
    …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. @grendello

    [xsp] Output all early errors to stderr

    grendello authored
    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. @gonzalop

    Testing 2

    gonzalop authored
  2. @gonzalop

    Testing

    gonzalop authored
Commits on Jun 15, 2010
  1. @grendello

    Do not use DISTFILES, use EXTRA_DIST instead or else Makefile.{am,in}…

    grendello authored
    … won't be included
    
    svn path=/trunk/xsp/; revision=158983
  2. @grendello

    Fix make dist

    grendello authored
    svn path=/trunk/xsp/; revision=158982
Commits on Jun 2, 2010
  1. @grendello

    2010-06-02 Marek Habersack <mhabersack@novell.com>

    grendello authored
    	* 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. @grendello

    2010-05-28 Marek Habersack <mhabersack@novell.com>

    grendello authored
    	* 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. @grendello

    2010-04-13 Marek Habersack <mhabersack@novell.com>

    grendello authored
    	* ModMonoRequest.cs: SendResponseFromMemory must advance the
    	pointer when not on Linux.
    
    svn path=/trunk/xsp/; revision=155319
Commits on Apr 6, 2010
  1. @gonzalop

    2010-04-05 Gonzalo Paniagua Javier <gonzalo@novell.com>

    gonzalop authored
    	* LingeringNetworkStream.cs: shutdown our side in LingeringClose,
    	otherwise it will take 50ms to close the socket.
    
    
    svn path=/trunk/xsp/; revision=154819
Commits on Mar 31, 2010
  1. @grendello

    2010-03-31 Marek Habersack <mhabersack@novell.com>

    grendello authored
    	* man/xsp.1.in: updated documentation of the --nonstop
    	option. Fixes bug #585295
    
    svn path=/trunk/xsp/; revision=154545
  2. @grendello

    2010-03-31 Marek Habersack <mhabersack@novell.com>

    grendello authored
    	* main.cs: wrapped --pidfile option body in try/catch block, as
    	the failure to create the PID file is not critical.
    
    2010-03-31  Marek Habersack  <mhabersack@novell.com>
    
    	* main.cs: added --pidfile argument, which puts mod-mono-server's
    	PID in the specified file.
    
    svn path=/trunk/xsp/; revision=154543
Commits on Mar 29, 2010
  1. @grendello

    use Mono.Data.Sqlite instead of Mono.Data.SqliteClient

    grendello authored
    svn path=/trunk/xsp/; revision=154353
Commits on Mar 19, 2010
  1. @grendello

    Partial revert of r153870 - just catch and ignore exceptions on socke…

    grendello authored
    …t shutdown
    
    svn path=/trunk/xsp/; revision=153924
Commits on Mar 18, 2010
  1. @grendello

    The operation should be nonblocking and it's better to do a read than…

    grendello authored
    … a write
    
    svn path=/trunk/xsp/; revision=153871
  2. @grendello

    2010-03-18 Marek Habersack <mhabersack@novell.com>

    grendello authored
    	* XSPWorker.cs: all the checks for whether socket is connected
    	are performed in a safe manner.
    
    2010-03-18  Marek Habersack  <mhabersack@novell.com>
    
    	* src/Mono.WebServer.FastCgi/StandardSocket.cs: check in
    	a safe manner if a socket is connected.
    
    2010-03-18  Marek Habersack  <mhabersack@novell.com>
    
    	* Utility.cs: added
    
    	* LingeringNetworkStream.cs: don't shutdown the socket in
    	LingeringClose - it will be done later.
    
    	* ApplicationServer.cs: fixed a typo in a lock block
    	All the checks for whether socket is connected
    	are performed in a safe manner.
    
    svn path=/trunk/xsp/; revision=153870
Something went wrong with that request. Please try again.