* server/XSPWorkerRequest.cs:
* server/XSPApplicationHost.cs:
* server/LingeringNetworkStream.cs: the connection is now closed if we
get an error writing to the socket.
svn path=/trunk/xsp/; revision=38007
* server/Makefile.am (CLEANFILES): Clean up *.exe and *.mdb.
* tools/dbsessmgr/Makefile.am (EXTRA_DIST): Add dbsessmgr2.exe.config.
(CLEANFILES): Clean up *.exe and *.mdb.
* tools/asp_state/Makefile.am (EXTRA_DIST): Add asp-state2.exe.config.
(CLEANFILES): Clean up *.exe and *.mdb.
* scripts/Makefile.am (CLEANFILES): Fix typos. Clean up all the scripts.
svn path=/trunk/xsp/; revision=37773
* configure.in:
* server/Makefile.am: if gmcs is available, build xsp2.exe and
mod-mono-server2.exe using the 2.0 assemblies.
svn path=/trunk/xsp/; revision=37717
* server/XSPApplicationHost.cs: first remove the socket, then close it.
Seems like the GetHashCode method returns a different value after the
socket is closed. Fixes bug #70449.
svn path=/trunk/xsp/; revision=37628
* server/XSPApplicationHost.cs: don't print IOExceptions caused by
socket read/write errors and don't send back a 500 error on IOExceptions
or error reading request line. Fixes bug #70391.
svn path=/trunk/xsp/; revision=37560
* server/XSPWorkerRequest.cs: this typo prevented the underlying
sys.web from knowing the real http version used. If you've seen stack
traces showing ChunkStream when running *xsp*, that's over now.
svn path=/trunk/xsp/; revision=36929
* server/XSPWorkerRequest.cs: max. line length for headers is now 8kB.
* server/ApplicationServer.cs: don't Exit in Stop(). Call the new
AppHost.Unload instead of just AppDomain.Unload, as that does not seem
to trigger the Application_End event under MS runtime. Fixes bug #68709.
* server/BaseApplicationHost.cs: new method Unload() that calls
HttpRuntime.UnloadAppDomain for the current application.
* server/InitialWorkerRequest.cs: maximum length for the request line
is now 8kB.
* server/IApplicationHost.cs: added Unload() to the interface.
svn path=/trunk/xsp/; revision=36491
* test/global.asax: added code here.
* doc/xsp.1.in: added information on --terminate and <enabled>
for .webapp files.
* test/sample.webapp: aded <enabled>
* server/ApplicationServer.cs: don't bail out if the directory given in
--appconfigdir does not exist. If the <enabled> no exists and is
'false', don't set up that application.
svn path=/trunk/xsp/; revision=36355
* server/ModMonoApplicationHost.cs: support for --terminate. Ensure that
no one else is listening on the same unix socket.
* server/ModMonoTCPWebSource.cs: support for --terminate.
* server/server.cs: added --terminate option to mod-mono-server. You
can use it to gracefully terminate a running mod-mono-server.
svn path=/trunk/xsp/; revision=36347
* configure.in: remove MKDIR_P
* server/InitialWorkerRequest.cs: don't print the exception if the
stream is not reused.
* autogen.sh: aclocal goes first.
svn path=/trunk/xsp/; revision=36073
* server/XSPWorkerRequest.cs: if the client is HTTP/1.1 or sends a
keep-alive connection header, we keep the connection opened for 15
seconds waiting for more requests.
* server/ApplicationServer.cs: Modified file.
* server/InitialWorkerRequest.cs: throw a different exception if
something fails reading the request line.
* server/XSPApplicationHost.cs: Don't print errors due to socket read
timeout. Handle keep-alive connections.
svn path=/trunk/xsp/; revision=36007
* server/ApplicationServer.cs: workaround a bug in MS socket Select
implementation.
* server/server.cs: undo workaround for bug #65533.
svn path=/trunk/xsp/; revision=35579
* server/XSPApplicationHost.cs: redirect on directories that are not
the root virtual directory when the path does not end in '/'. Fixes bug
#68082.
svn path=/trunk/xsp/; revision=35429
* server/LingeringNetworkStream.cs: make the byte [] buffer
static here. It is not of consequence what we write to the buffer
so we may as well cache it.
* server/XSPWorkerRequest.cs: Avoid String.Format related stuff,
just append to the stringbuilder.
svn path=/trunk/xsp/; revision=34535
* server/XSPApplicationHost.cs: rather than pass an ip addr
across appdomains as a string, pass it as a long. this avoids
the cost of making it into a string, and related allocations.
svn path=/trunk/xsp/; revision=34501
* configure.in: 1.0.2.99
* server/ApplicationServer.cs: allow unloading applications. Fixed
warnings.
* server/BaseApplicationHost.cs: when the domain is unloaded, tell
the application server we don't exist any more.
* server/BaseRequestBroker.cs: added some sanity checks.
* server/IApplicationHost.cs: added Server to the interface.
* server/ModMonoRequest.cs:
* server/ModMonoWorkerRequest.cs:
* server/ModMonoApplicationHost.cs: if apache is stopping, tell the
application server to finish everything off.
* server/XSPWorkerRequest.cs:
* server/XSPApplicationHost.cs: fixed warnings.
* server/server.cs: if running interactive, unload all applications
before exiting.
svn path=/trunk/xsp/; revision=34317