Permalink
Commits on Sep 28, 2010
  1. [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 with Andrew Jorgensen Sep 1, 2010
  2. Revert "Add xsp*.exe references to the .pc files"

    This reverts commit ec0346d.
    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 with Andrew Jorgensen 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

    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
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}…

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

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

    	* 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
    grendello committed Jun 2, 2010
Commits on May 28, 2010
  1. 2010-05-28 Marek Habersack <mhabersack@novell.com>

    	* 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
    grendello committed May 28, 2010
Commits on Apr 13, 2010
  1. 2010-04-13 Marek Habersack <mhabersack@novell.com>

    	* ModMonoRequest.cs: SendResponseFromMemory must advance the
    	pointer when not on Linux.
    
    svn path=/trunk/xsp/; revision=155319
    grendello committed Apr 13, 2010
Commits on Apr 6, 2010
  1. 2010-04-05 Gonzalo Paniagua Javier <gonzalo@novell.com>

    	* LingeringNetworkStream.cs: shutdown our side in LingeringClose,
    	otherwise it will take 50ms to close the socket.
    
    
    svn path=/trunk/xsp/; revision=154819
    gonzalop committed Apr 6, 2010
Commits on Mar 31, 2010
  1. 2010-03-31 Marek Habersack <mhabersack@novell.com>

    	* man/xsp.1.in: updated documentation of the --nonstop
    	option. Fixes bug #585295
    
    svn path=/trunk/xsp/; revision=154545
    grendello committed Mar 31, 2010
  2. 2010-03-31 Marek Habersack <mhabersack@novell.com>

    	* 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
    grendello committed Mar 31, 2010
Commits on Mar 29, 2010
  1. use Mono.Data.Sqlite instead of Mono.Data.SqliteClient

    svn path=/trunk/xsp/; revision=154353
    grendello committed Mar 29, 2010
Commits on Mar 19, 2010
  1. Partial revert of r153870 - just catch and ignore exceptions on socke…

    …t shutdown
    
    svn path=/trunk/xsp/; revision=153924
    grendello committed Mar 19, 2010
Commits on Mar 18, 2010
  1. The operation should be nonblocking and it's better to do a read than…

    … a write
    
    svn path=/trunk/xsp/; revision=153871
    grendello committed Mar 18, 2010
  2. 2010-03-18 Marek Habersack <mhabersack@novell.com>

    	* 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
    grendello committed Mar 18, 2010
  3. 2010-03-18 Marek Habersack <mhabersack@novell.com>

    	* ApplicationServer.cs: fixed a typo in a lock block
    
    svn path=/trunk/xsp/; revision=153850
    grendello committed Mar 18, 2010
Commits on Mar 9, 2010
  1. Slight speed optimization for FillBuffer

    svn path=/trunk/xsp/; revision=153328
    grendello committed Mar 9, 2010
  2. 2010-03-09 Marek Habersack <mhabersack@novell.com>

    	* ModMonoRequest.cs: better fix for bug #580086. Patch from Asgeir
    	Halldorsson <asgeir.halldorsson@dempseyclark.is>, thanks!
    
    svn path=/trunk/xsp/; revision=153324
    grendello committed Mar 9, 2010