Skip to content
Commits on Aug 18, 2007
  1. @grendello

    2007-08-18 Josh Tauberer <>

                * src/Mono.WebServer/BaseRequestBroker.cs: Correct a mistake
                in my previous patch: checking for wrap-around on requests_served
                counter, since we bitmask it 0x7FFF, wrap-around occurs at 0x8000.
    svn path=/trunk/xsp/; revision=84355
    grendello committed Aug 18, 2007
Commits on Aug 16, 2007
  1. version bump-> 1.2.5

    svn path=/trunk/xsp/; revision=84232
    Wade Berrier committed Aug 16, 2007
Commits on Aug 14, 2007
  1. @grendello

    2007-08-14 Marek Habersack <>

    	* src/Mono.WebServer/XSPWorker.cs: do not rethrow an exception
    	that might occur on write, write an error message to the console
    	and close our end of the connection instead. Fixes bug #81699
    svn path=/trunk/xsp/; revision=84059
    grendello committed Aug 14, 2007
  2. @grendello

    2007-08-14 Marek Habersack <>

    	* src/ModMonoWorkerRequest.cs: ReadEntityBody makes sure the
    	number of bytes to copy is > 0 and that the read buffer is not
    svn path=/trunk/xsp/; revision=84028
    grendello committed Aug 14, 2007
Commits on Aug 9, 2007
  1. @grendello

    2007-08-09 Marek Habersack <>

    	* src/ModMonoWorkerRequest.cs,
    	src/Mono.WebServer/XSPWorkerRequest.cs: do not fail if default
    	index files configuration cannot be retrieved. Based on patch from
    	Juraj Skripsky <>, thanks! Fixes bug #82379.
    svn path=/trunk/xsp/; revision=83730
    grendello committed Aug 9, 2007
  2. @grendello

    2007-08-09 Marek Habersack <>

    	* src/ModMonoWorker.cs: move request unregister call from the
    	finally block to the catch block. This is to avoid unregistering
    	the request while it is still being processed by the HttpRuntime
    	(asynchronously). Patch from Joshua Tauberer <>,
    svn path=/trunk/xsp/; revision=83717
    grendello committed Aug 9, 2007
Commits on Aug 8, 2007
  1. @grendello

    Make complains about trailing whitespace

    svn path=/trunk/xsp/; revision=83661
    grendello committed Aug 8, 2007
  2. @grendello

    2007-08-08 Marek Habersack <>

    	* src/Mono.WebServer/MonoWorkerRequest.cs: don't use the
    	SendResponseFromFile (IntPtr, long, long) overload from the
    	SendResponseFromFile (string, long, long) one - prevents double
    	close of the file handle.
    svn path=/trunk/xsp/; revision=83660
    grendello committed Aug 8, 2007
  3. @grendello

    2007-08-08 Marek Habersack <>

    	* src/Mono.WebServer/ApplicationServer.cs: leave only the
    	implementation of the ApplicationServer class here, the other
    	classes are moved to own files, below.
    	* src/Mono.WebServer/Paths.cs: new file, moved Paths class
    	implementation here.
    	* src/Mono.WebServer/HttpErrors.cs: new file, moved HttpErrors
    	class implementation here.
    	* src/Mono.WebServer/VPathToHost.cs: new file, moved VPathToHost
    	class implementation here.
    svn path=/trunk/xsp/; revision=83643
    grendello committed Aug 8, 2007
  4. @grendello

    2007-08-08 Marek Habersack <>

    	* src/Mono.WebServer/XSPApplicationHost.cs: leave only the
    	implementation of the XSPApplicationHost here, the other classes
    	are moved to own files, below.
    	* src/Mono.WebServer/XSPWorker.cs: new file, moved XSPWorker class
    	implementation here.
    	* src/Mono.WebServer/XSPWebSource.cs: new file, moved XSPWebSource
    	class implementation here.
    	* src/Mono.WebServer/XSPRequestBroker.cs: new file, moved
    	XSPRequestBroker class implementation here.
    	* src/Mono.WebServer/ (monowebserver_sources): added
    	new source files.
    	* src/ModMonoApplicationHost.cs: leave only the implementation of
    	the ModMonoApplicationHost class here, the other classes are moved
    	to own files, below.
    	* src/ModMonoWorker.cs: new file, moved ModMonoWorker class
    	implementation here.
    	* src/ModMonoWebSource.cs: new file, moved ModMonoWebSource class
    	implementation here.
    	* src/ModMonoRequestBroker.cs: new file, moved
    	ModMonoRequestBroker class implementation here.
    	* src/ (modmono_only): added new source files.
    svn path=/trunk/xsp/; revision=83642
    grendello committed Aug 8, 2007
Commits on Aug 7, 2007
  1. @grendello

    restore GetWorker call in Read

    svn path=/trunk/xsp/; revision=83579
    grendello committed Aug 7, 2007
  2. @grendello

    2007-08-07 Marek Habersack <>

    	* src/Mono.WebServer/BaseRequestBroker.cs: applied patch by Joshua
    	Tauberer (with minor changes) proposed in bug #82057. The change
    	turns request id into a compound of the unique request id in the
    	upper 16 bits and the index into request array in the lower 16
    	* src/Mono.WebServer/BaseApplicationHost.cs: fixed documentation.
    svn path=/trunk/xsp/; revision=83570
    grendello committed Aug 7, 2007
Commits on Aug 6, 2007
  1. @grendello

    2007-08-06 Marek Habersack <>

    	* src/Mono.WebServer/BaseApplicationHost.cs: added some more
    	* src/Mono.WebServer/BaseRequestBroker.cs: call the
    	UnregisterRequest handlers before freeing the request data.
    svn path=/trunk/xsp/; revision=83528
    grendello committed Aug 6, 2007
Commits on Jul 17, 2007
  1. @grendello

    temporary checkin for bug demonstration

    svn path=/trunk/xsp/; revision=82146
    grendello committed Jul 17, 2007
  2. @grendello

    2007-07-17 Marek Habersack <>

    	* src/ModMonoApplicationHost.cs: it's somewhat better to
    	unregister an event handler when it's not needed :P
    svn path=/trunk/xsp/; revision=82083
    grendello committed Jul 17, 2007
Commits on Jul 16, 2007
  1. @grendello

    2007-07-16 Marek Habersack <>

    	* src/Mono.WebServer/BaseRequestBroker.cs: added an event fired
    	when the request has just been unregistered.
    	* src/ModMonoApplicationHost.cs: add an event handler for the
    	UnregisterRequest event in the request broker to make sure that
    	the same request is never unregistered twice.
    svn path=/trunk/xsp/; revision=82030
    grendello committed Jul 16, 2007
Commits on Jul 9, 2007
  1. *

    * docs/ empty file so that this dir gets included
    so we can build from a tarball
    svn path=/trunk/xsp/; revision=81669
    Wade Berrier committed Jul 9, 2007
Commits on Jun 22, 2007
  1. @grendello

    2007-06-22 Marek Habersack <>

    	* src/Mono.WebServer/MonoWorkerRequest.cs: docs from Brian
    svn path=/trunk/xsp/; revision=80543
    grendello committed Jun 22, 2007
  2. @grendello

    2007-06-22 Marek Habersack <>

    	* src/Mono.WebServer/IWebSource.cs: more docs from Brian Nickel.
    svn path=/trunk/xsp/; revision=80542
    grendello committed Jun 22, 2007
  3. @grendello

    2007-06-22 Marek Habersack <>

    	* src/Mono.WebServer/IApplicationHost.cs: more docs from Brian
    svn path=/trunk/xsp/; revision=80541
    grendello committed Jun 22, 2007
  4. @grendello

    2007-06-22 Marek Habersack <>

    	* src/Mono.WebServer/ (MCSFLAGS): extract xml docs.
    svn path=/trunk/xsp/; revision=80540
    grendello committed Jun 22, 2007
  5. @grendello

    2007-06-22 Marek Habersack <>

    	* src/Mono.WebServer/BaseRequestBroker.cs: add some
    	documentation and avoid reallocating request buffers. Patch from
    	Brian Nickel <>, thanks!
    svn path=/trunk/xsp/; revision=80539
    grendello committed Jun 22, 2007
  6. @grendello

    2007-06-22 Marek Habersack <>

    	* src/Mono.WebServer/BaseApplicationHost.cs: do not assume that
    	requestBroker is not null and that it is
    	BaseRequestBroker. Modified patch from Brian Nickel
    	<>, thanks!
    svn path=/trunk/xsp/; revision=80538
    grendello committed Jun 22, 2007
Commits on Jun 20, 2007
  1. @grendello

    2007-06-20 Marek Habersack <>

    	* src/ModMonoRequest.cs: added support for virtual hosts
    	(ServerAlias) Patch from Juraj Skripsky
    	<>, thanks! Closes bug #81878.
    	* src/ModMonoApplicationHost.cs: as above
    svn path=/trunk/xsp/; revision=80295
    grendello committed Jun 20, 2007
Commits on Jun 14, 2007
  1. @grendello

    2007-06-15 Marek Habersack <>

    	* src/Mono.WebServer/ApplicationServer.cs: do not skip checking
    	the path when vhost is '*'. Patch from Brian Nickel
    	<>, thanks!
    svn path=/trunk/xsp/; revision=79645
    grendello committed Jun 14, 2007
Commits on Jun 7, 2007
  1. 2007-05-06 Wade Berrier <>

            * tools/asp_state/
            * tools/dbsessmgr/ 
            Split DATA and SCRIPTS for .exe and .exe.config so that .config doesn't
            have the execute bit set (otherwise, causes warning in suse's rpmlint)
    svn path=/trunk/xsp/; revision=78907
    Wade Berrier committed Jun 7, 2007
Commits on May 4, 2007
  1. @grendello

    2007-05-04 Marek Habersack <>

    	* src/Mono.WebServer/MonoWorkerRequest.cs: avoid possible NOR.
    svn path=/trunk/xsp/; revision=76722
    grendello committed May 4, 2007
Commits on Apr 24, 2007
  1. @grendello

    2007-04-24 Marek Habersack <>

    	* src/Mono.WebServer/BaseApplicationHost.cs: put the worker's
    	ProcessRequest in try/catch in order to handle uncaught exceptions
    	more gracefully.
    	* src/Mono.WebServer/MonoWorkerRequest.cs: more robust exception
    	handling. We no longer leave the connection open and the browser
    	spinning after an early exception (e.g. configuration exception
    	while reading the top-level web.config file) ocurred.
    svn path=/trunk/xsp/; revision=76164
    grendello committed Apr 24, 2007
Commits on Apr 20, 2007
  1. version bump -> 1.2.4

    svn path=/trunk/xsp/; revision=75986
    Wade Berrier committed Apr 20, 2007
Commits on Apr 13, 2007
  1. @grendello

    2007-04-13 Marek Habersack <>

    	* src/Mono.WebServer/BaseRequestBroker.cs: replace old code that
    	used hashtables to store request data with arrays. Array is also
    	used to acquire a unique request id. Previously the code used
    	GetHashCode() to do that, incorrectly assuming that the return
    	value from the method is unique. This caused frequent race
    	conditions and crashes. The new code uses arrays sized at 200
    	slots initially - this means it can handle up to 200 _concurrent_
    	requests before it needs to resize the arrays.
    	* src/Mono.WebServer/XSPApplicationHost.cs: make sure worker is
    	not null before attempting to use it.
    	* src/ModMonoApplicationHost.cs: make sure worker is not null
    	before attempting to use it.
    svn path=/trunk/xsp/; revision=75696
    grendello committed Apr 13, 2007
Commits on Mar 30, 2007
  1. @migueldeicaza

    Revert patch 75192, we should find the real source of the problem

    svn path=/trunk/xsp/; revision=75231
    migueldeicaza committed Mar 30, 2007
  2. @grendello

    Remove the comment as not valid

    svn path=/trunk/xsp/; revision=75223
    grendello committed Mar 30, 2007
  3. @grendello

    Change the way nested Leave/Enter calls are handled.

    svn path=/trunk/xsp/; revision=75194
    grendello committed Mar 30, 2007
  4. @grendello

    2007-03-30 Marek Habersack <>

    	* src/Mono.WebServer/BaseRequestBroker.cs: protect access to the
    	buffer in Read at least a bit. It can still be released by some
    	other thread after or during Read.
    svn path=/trunk/xsp/; revision=75192
    grendello committed Mar 30, 2007
  5. @grendello

    2007-03-30 Marek Habersack <>

    	* src/Mono.WebServer/Tracing.cs: added a utility class to help in
    	* src/Mono.WebServer/ (monowebserver_sources): added Tracing.cs
    	* Define TRACE together with WEBTRACE.
    svn path=/trunk/xsp/; revision=75182
    grendello committed Mar 30, 2007
Something went wrong with that request. Please try again.