* src/Mono.WebServer.FastCgi/ConfigurationManager.*:
Implement an additional configuration source: environment.
* src/Mono.WebServer.FastCgi/Request.cs:
Take directory index (default documents) into account.
svn path=/branches/robertj/xsp/; revision=88339
* configure.in:
* src/AssemblyInfoModMono.cs.in:
* src/AssemblyInfo.cs.in:
* tools/asp_state/AssemblyInfo.cs.in:
* tools/dbsessmgr/AssemblyInfo.cs.in:
Split VERSION to VERSION and XSP_VERSION in order to allow svn
revision
in VERSION and still satisfy mcs's numbering scheme (recently
changed
to match csc)
Didn't replace VERSION, because we need the tarball version to
not have
periods in the revision name.
svn path=/trunk/xsp/; revision=88287
* src/Mono.WebServer/XSPWorkerRequest.cs: gracefully handle
exceptions in the constructor, by closing the connection when
Exception happens.
svn path=/trunk/xsp/; revision=88106
In .:
* src/Mono.WebServer.FastCgi/Request.cs:
Reverted temporary hack for mod_fastcgi.
* src/Mono.WebServer.FastCgi/ConfigurationManager.cs:
The XML default settings have less precedence.
2007-10-22 Robert Jordan <robertj@gmx.net>
* src/Mono.WebServer.Apache/Mono.WebServer.Apache.sources: Create.
* src/Mono.WebServer.Apache/SecurityConfiguration.cs:
Get rid of MODMONO.
2007-10-22 Robert Jordan <robertj@gmx.net>
* src/Makefile.am: FastCGI -> FastCgi.
* src/Mono.WebServer.FastCgi/Makefile.am:
* src/Mono.WebServer.FastCgi/*.sources:
* src/Mono.WebServer.FastCgi/AssemblyInfo.cs.in:
Create.
* src/Mono.WebServer.FastCgi/ConfigurationManager.xml:
Add some default values to be able to get rid of
the exe.config file. Comment out the automapping settings.
* src/Mono.WebServer.FastCgi/ConfigurationManager.cs:
Implement ImportSettings (). Support for default settings
specified in ConfigurationManaged.xml.
* src/Mono.WebServer.FastCgi/main.cs:
* src/Mono.WebServer.FastCgi/Responder.cs:
Take the ApplicationManager
out of the build until its automapping issues are fixed.
* src/Mono.WebServer.FastCgi/server.cs: Rename to main.cs
2007-10-22 Robert Jordan <robertj@gmx.net>
* src/Mono.WebServer.FastCgi: Import Brian's files from his google
repository. Flatten hierarchies to adhere to mono's standards.
Disintegrate the Mono.FastCgi assembly.
2007-10-22 Robert Jordan <robertj@gmx.net>
* configure.in, scripts/Makefile.am: Reflect changes.
* src/Makefile.am: Reflect changes.
* src/Mono.WebServer.Apache/main.cs: Remove XSP-related code.
* src/Mono.WebServer.XSP/main.cs: Remove ModMono-related code.
* src/Mono.WebServer.Apache/Makefile.am: Create from .Makefile.am.
* src/Mono.WebServer.XSP/Makefile.am: Create from Makefile.am.
* src/server.cs: Copy as main.cs to Mono.WebServer.Apache and
Mono.WebServer.XSP
* src/ecurity.cs: Move to Mono.WebServer.XSP/SecurityConfiguration.cs
* src/ModMono*.cs: Move to Mono.WebServer.Apache.
* src/Mono.WebServer.Apache: Create.
* src/Mono.WebServer.FastCgi: Create.
* src/Mono.WebServer.XSP: Create.
svn path=/branches/robertj/xsp/; revision=87880
* Makefile.am: FastCGI -> FastCgi.
* Mono.WebServer.FastCgi/Makefile.am:
* Mono.WebServer.FastCgi/*.sources:
* Mono.WebServer.FastCgi/AssemblyInfo.cs.in:
Create.
* Mono.WebServer.FastCgi/ConfigurationManager.xml:
Add some default values to be able to get rid of
the exe.config file. Comment out the automapping settings.
* Mono.WebServer.FastCgi/ConfigurationManager.cs:
Implement ImportSettings (). Support for default settings
specified in ConfigurationManaged.xml.
* Mono.WebServer.FastCgi/main.cs:
* Mono.WebServer.FastCgi/Responder.cs:
Take the ApplicationManager
out of the build until its automapping issues are fixed.
* Mono.WebServer.FastCgi/server.cs: Rename to main.cs
svn path=/branches/robertj/xsp/; revision=87877
* Mono.WebServer.FastCgi: Import Brian's files from his google
repository. Flatten hierarchies to adhere to mono's standards.
Disintegrate the Mono.FastCgi assembly.
svn path=/branches/robertj/xsp/; revision=87875
* src/ModMonoRequestBroker.cs,src/ModMonoWorker.cs: added a method
to support configuration of output buffering in mod_mono
* src/ModMonoRequest.cs: added support for new mod_mono
communication protocol, SET_CONFIGURATION. Configuration of
mod_mono is updated before write commands, if necessary. Currently
it supports only configuring the output buffering (based on the
value of HttpResponse.BufferOutput)
Bumped protocol version to 8
* src/ModMonoWorkerRequest.cs: added a method which updates the
mod_mono/apache configuration if necessary.
svn path=/trunk/xsp/; revision=86803
* src/server.cs: add a UnhandledExceptionEventHandler
to handle an exception that is not handled by the application domain.
svn path=/trunk/xsp/; revision=85969
* 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
* 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
* src/ModMonoWorkerRequest.cs: ReadEntityBody makes sure the
number of bytes to copy is > 0 and that the read buffer is not
null.
svn path=/trunk/xsp/; revision=84028
* 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 <juraj@hotfeet.ch>, thanks! Fixes bug #82379.
svn path=/trunk/xsp/; revision=83730
* 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 <jit@occams.info>,
thanks!
svn path=/trunk/xsp/; revision=83717
* 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
* 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
* 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/Makefile.am (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/Makefile.am (modmono_only): added new source files.
svn path=/trunk/xsp/; revision=83642
* 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
bits.
* src/Mono.WebServer/BaseApplicationHost.cs: fixed documentation.
svn path=/trunk/xsp/; revision=83570
* src/Mono.WebServer/BaseApplicationHost.cs: added some more
documentation.
* src/Mono.WebServer/BaseRequestBroker.cs: call the
UnregisterRequest handlers before freeing the request data.
svn path=/trunk/xsp/; revision=83528
* 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
* src/Mono.WebServer/BaseRequestBroker.cs: add some
documentation and avoid reallocating request buffers. Patch from
Brian Nickel <brian.nickel@gmail.com>, thanks!
svn path=/trunk/xsp/; revision=80539
* src/Mono.WebServer/BaseApplicationHost.cs: do not assume that
requestBroker is not null and that it is
BaseRequestBroker. Modified patch from Brian Nickel
<brian.nickel@gmail.com>, thanks!
svn path=/trunk/xsp/; revision=80538
* src/ModMonoRequest.cs: added support for virtual hosts
(ServerAlias) Patch from Juraj Skripsky
<juraj@hotfeet.ch>, thanks! Closes bug #81878.
* src/ModMonoApplicationHost.cs: as above
svn path=/trunk/xsp/; revision=80295
* src/Mono.WebServer/ApplicationServer.cs: do not skip checking
the path when vhost is '*'. Patch from Brian Nickel
<brian.nickel@gmail.com>, thanks!
svn path=/trunk/xsp/; revision=79645
* tools/asp_state/Makefile.am:
* tools/dbsessmgr/Makefile.am:
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
* 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