Permalink
Commits on Sep 27, 2009
  1. use sendfile if possible. Added missing overload

    svn path=/branches/mono-2-6/xsp/; revision=142708
    gonzalop committed Sep 27, 2009
Commits on Sep 25, 2009
  1. version

    svn path=/branches/mono-2-6/xsp/; revision=142639
    Andrew Jorgensen committed Sep 25, 2009
Commits on Sep 21, 2009
  1. Removed forgotten cwl

    svn path=/trunk/xsp/; revision=142352
    grendello committed Sep 21, 2009
  2. 2009-09-21 Marek Habersack <mhabersack@novell.com>

    	* src/Mono.WebServer/MonoWorkerRequest.cs: added support for
    	protecting hidden files/directories (with the Hidden attribute on
    	Windows, starting with a dot on Unix)
    
    	* src/Mono.WebServer.XSP/main.cs,
    	src/Mono.WebServer.Apache/main.cs: added new option, --no-hidden,
    	which turns off hidden file/directory protection.
    
    	* man/xsp.1.in: added documentation for the new --no-hidden
    	option.
    
    svn path=/trunk/xsp/; revision=142350
    grendello committed Sep 21, 2009
  3. fix .pc files Libs: section

    svn path=/trunk/xsp/; revision=142340
    Andrew Jorgensen committed Sep 21, 2009
Commits on Sep 15, 2009
  1. 2009-09-15 Marek Habersack <mhabersack@novell.com>

    	* src/Mono.WebServer.XSP/main.cs: sleep after catching
    	ThreadAbortException in RealMain, before exiting.
    
    svn path=/trunk/xsp/; revision=141958
    grendello committed Sep 15, 2009
Commits on Aug 26, 2009
  1. bump version

    svn path=/trunk/xsp/; revision=140746
    Andrew Jorgensen committed Aug 26, 2009
Commits on Aug 20, 2009
  1. 2009-08-21 Marek Habersack <mhabersack@novell.com>

    	* test/2.0/treeview/treeview.aspx: use
    	http://go-mono.com/status/images/se.gif instead of
    	http://mono.ximian.com/class-status/mono-HEAD-vs-fx-2/cm/se.gif. Fixes
    	bug #479736
    
    svn path=/trunk/xsp/; revision=140380
    grendello committed Aug 20, 2009
Commits on Aug 19, 2009
  1. 2009-08-20 Marek Habersack <mhabersack@novell.com>

    	* test/1.1/asp.net/browsercaps.aspx: sort the output in MS.NET
    	compatible way. Fixes bug #514155. Patch from Robert Jordan
    	<robertj@gmx.net>, thanks!
    
    svn path=/trunk/xsp/; revision=140303
    grendello committed Aug 19, 2009
Commits on Aug 13, 2009
  1. 2009-08-13 Marek Habersack <mhabersack@novell.com>

    	* src/Mono.WebServer/XSPWorkerRequest.cs: if the Content-Length
    	request header is present, make sure not more than the number of
    	bytes specified in it is returned to the caller
    	(GetPreloadedEntityBody). Fixes bug #530858
    
    svn path=/trunk/xsp/; revision=139879
    grendello committed Aug 13, 2009
Commits on Jul 13, 2009
  1. use GetHostAddresses()

    svn path=/trunk/xsp/; revision=137803
    gonzalop committed Jul 13, 2009
Commits on Jul 9, 2009
  1. 2009-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>

    	* Makefile.am: exes depend on AssemblyInfo.cs too.
    
    
    svn path=/trunk/xsp/; revision=137628
    gonzalop committed Jul 9, 2009
Commits on Jun 8, 2009
  1. src/Mono.WebServer.FastCgi/Request.cs (ParseParameterData): Fast test…

    … for directory with no trailing slash. Avoid testing last component twice. There is no need to call GetFullPath on the physical path info.
    
    svn path=/trunk/xsp/; revision=135678
    kornelpal committed Jun 8, 2009
Commits on Jun 6, 2009
  1. * src/Mono.WebServer.FastCgi/Request.cs (ParseParameterData): More cl…

    …osely resemble Apache and PHP behavior provides better support for non-existent files, takes a fast path when there is no path info and tests earlier for Apache variables.
    
    svn path=/trunk/xsp/; revision=135595
    kornelpal committed Jun 6, 2009
Commits on Jun 2, 2009
  1. * autogen.sh, configure.in: Set EOL style to Unix to fix cygwin build…

    …. * src/Mono.WebServer.FastCgi/Responder.cs (Process): Properly set status code when no application is found. * src/Mono.WebServer.FastCgi/Request.cs (ParseParameterData): Use a simple reverse scan of path components until the first existing file and allow non-existent files.
    
    svn path=/trunk/xsp/; revision=135200
    kornelpal committed Jun 2, 2009
Commits on Apr 10, 2009
  1. remove CWL

    svn path=/trunk/xsp/; revision=131454
    gonzalop committed Apr 10, 2009
  2. 2009-04-10 Gonzalo Paniagua Javier <gonzalo@novell.com>

    	* src/Mono.WebServer/XSPWorkerRequest.cs: the libc function signatures
    	were wrong.
    
    	* src/Mono.WebServer/BaseApplicationHost.cs: call ResetAbort if we get
    	an unexpected ThreadAbortException.
    
    	* src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs:
    	* src/Mono.WebServer.Apache/ModMonoRequest.cs:
    	* src/Mono.WebServer.Apache/Makefile.am:
    	* src/Mono.WebServer.Apache/Worker.cs: add new SendResponseFromMemory
    	overloads that will write directly to mod_mono without copying (linux
    	only).
    
    
    svn path=/trunk/xsp/; revision=131453
    gonzalop committed Apr 10, 2009
Commits on Apr 9, 2009
  1. 2009-04-09 Gonzalo Paniagua Javier <gonzalo@novell.com>

    	* src/Mono.WebServer/XSPWebSource.cs: re-add the 2 parameter ctor.
    	Compatibility with existing apps was broken.
    
    
    svn path=/trunk/xsp/; revision=131419
    gonzalop committed Apr 9, 2009
Commits on Apr 6, 2009
  1. Correct leaking of file descriptors when using unix sockets for the F…

    …astCGI
    
    server
    
    Prompted by this thread (http://go-mono.com/forums/#nabble-to22305668) 
    
    At least according to my read of the documentation for FastCGI (here:
    http://www.fastcgi.com/drupal/node/6?q=node/15) the FastCGI process
    is responsible for appropriately closing the connection after the 
    request has finished processing (see details under "2. FastCGI Interface")
    
    This has been running with success in my Lighttpd/Mono.FastCGI setup for about
    three weeks to test (I had previously needed to restart the FastCGI servers
    twice a day otherwise they'd leak and max out the available descriptors for
    the process)
    
    If there are any issues with this patch, please ping me at tyler@monkeypox.org
    
    
    svn path=/trunk/xsp/; revision=131100
    R. Tyler Ballance committed Apr 6, 2009
Commits on Apr 2, 2009
  1. 2009-04-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

    	* configure.in:
    	* test/2.0/gridview/Makefile.am:
    	* test/2.0/Makefile.am: gridview sample was not being
    	installed.
    
    	* src/Mono.WebServer.XSP/main.cs:
    	* src/Mono.WebServer.Apache/main.cs: when running in single-app mode,
    	corretly handle application restarts.
    
    	* src/Mono.WebServer.Apache/WebSource.cs: remove unused variable.
    
    
    svn path=/trunk/xsp/; revision=130830
    gonzalop committed Apr 2, 2009
Commits on Mar 25, 2009
  1. 2009-03-25 Marek Habersack <mhabersack@novell.com>

    	* src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs: made
    	GetServerVariable public and a bit safer.
    
    	* src/Mono.WebServer.Apache/ApplicationHost.cs: do not use broker
    	here, ModMonoWorkerRequest can do it for us if need be. Fixes bug
    	#488630
    
    svn path=/trunk/xsp/; revision=130250
    grendello committed Mar 25, 2009
  2. 2009-03-25 Rolf Bjarne Kvinge <RKvinge@novell.com>

    	* src/Mono.WebServer/XSPWorkerRequest.cs: if send fails with
    	EINTR, try to send again instead of throwing an exception.
    
    
    svn path=/trunk/xsp/; revision=130198
    rolfbjarne committed Mar 25, 2009
Commits on Mar 20, 2009
  1. 2009-03-21 Marek Habersack <mhabersack@novell.com>

    	* src/Mono.WebServer/ApplicationServer.cs: added an overload for
    	the Start method which takes an exception as an argument. This
    	exception, if not null, will be sent to the client on the first
    	connection attempt.
    
    	* src/Mono.WebServer.XSP/main.cs: read AppSettings in the
    	constructor of a new ApplicationSettings class, to isolate
    	errors.
    
    svn path=/trunk/xsp/; revision=129931
    grendello committed Mar 20, 2009
Commits on Mar 13, 2009
  1. 2009-03-13 Gonzalo Paniagua Javier <gonzalo@novell.com>

    	* main.cs: fix error when --master is passed.
    	Bug #481597 fixed.
    
    
    svn path=/trunk/xsp/; revision=129301
    gonzalop committed Mar 13, 2009
Commits on Mar 11, 2009
  1. Fix Bug 484465 – xsp init script's status option always says "running"

    svn path=/trunk/xsp/; revision=129107
    Andrew Jorgensen committed Mar 11, 2009
Commits on Mar 9, 2009
  1. 2009-03-09 Marek Habersack <mhabersack@novell.com>

    	* src/Mono.WebServer/XSPWorker.cs, XSPWebSource.cs,
    	XSPApplicationHost.cs: XSP can now bind to IPv6 addresses. Patch
    	from Pascal Fresnay <PascalFresnay@free.fr>, thanks! Fixes bug
    	#479878
    
    svn path=/trunk/xsp/; revision=128860
    grendello committed Mar 9, 2009
Commits on Mar 5, 2009
  1. awesomeness

    svn path=/trunk/xsp/; revision=128671
    gonzalop committed Mar 5, 2009
Commits on Mar 3, 2009
  1. 2009-03-03 Marek Habersack <mhabersack@novell.com>

    	* src/Mono.WebServer.Apache/ModMonoRequest.cs: removed a
    	ShouldClientBlock () check from GetClientBlock (). Fixes bug
    	#481370
    
    svn path=/trunk/xsp/; revision=128483
    grendello committed Mar 3, 2009
Commits on Mar 1, 2009
  1. last2

    svn path=/trunk/xsp/; revision=128292
    gonzalop committed Mar 1, 2009
  2. last

    svn path=/trunk/xsp/; revision=128291
    gonzalop committed Mar 1, 2009
  3. testing

    svn path=/trunk/xsp/; revision=128290
    gonzalop committed Mar 1, 2009
Commits on Feb 27, 2009
  1. 2009-02-27 Gonzalo Paniagua Javier <gonzalo@novell.com>

    	* src/Mono.WebServer.XSP/main.cs:
    	* src/Mono.WebServer.FastCgi/main.cs: 
    	* src/Mono.WebServer.Apache/main.cs: do not sent the Trace output to
    	the Console by default.
    
    
    svn path=/trunk/xsp/; revision=128242
    gonzalop committed Feb 27, 2009
Commits on Feb 26, 2009
  1. be verbose, but not redundant

    svn path=/trunk/xsp/; revision=128086
    gonzalop committed Feb 26, 2009
Commits on Feb 25, 2009
  1. testing

    svn path=/trunk/xsp/; revision=127967
    gonzalop committed Feb 25, 2009
  2. 2009-02-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

    	* src/Mono.WebServer.XSP/main.cs: changes needed to run the Accept
    	thread in the ASP.NET appdomain when there is a single application
    	configured.
    
    	* src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs: avoid the lock in
    	RequestBroker for single applications. Implemented GetHeadersSent().
    
    	* src/Mono.WebServer.Apache/RequestBroker.cs: implemented
    	GetHeadersSent ().
    
    	* src/Mono.WebServer.Apache/WebSource.cs: propagate the single_app
    	setting.
    
    	* src/Mono.WebServer.Apache/ApplicationHost.cs: for single_app, pass
    	the instance of ModMonoWorker to the worker request.
    
    	* src/Mono.WebServer.Apache/ModMonoRequest.cs: reduced number of
    	writes. Implemented GetHeadersSent ().
    
    	* src/Mono.WebServer.Apache/main.cs: changes needed to run the Accept
    	thread in the ASP.NET appdomain when there is a single application
    	configured.
    
    	* src/Mono.WebServer.Apache/Worker.cs: don't register/unregister the
    	request for single application. Implemented GetHeadersSent ().
    
    	* src/Mono.WebServer/VPathToHost.cs: for multiple application, set the
    	request broker of the application host to one main appdomain.
    
    	* src/Mono.WebServer/XSPWebSource.cs: propagate the single_app
    	setting.
    
    	* src/Mono.WebServer/ApplicationServer.cs: allow setting application
    	host and broker. For single application, set the request broker of the
    	application host to one created in the ASP.NET application domain.
    	GetApplicationForPath just returns the registered application without
    	checking the parameters.
    
    	All these yadaa, yadaa can be summarized in:
    		* Avoid remoting through the cross appdomain channel when
    		there is only one ASP.NET application registered (single_app).
    		* Avoid locking in RequestBroker for single_app.
    		* Implement GetHeadersSent.
    		* Reduced number of writes to mod_mono.
    
    
    svn path=/trunk/xsp/; revision=127958
    gonzalop committed Feb 25, 2009