* server/XSPWorkerRequest.cs:
* server/XSPApplicationHost.cs: fix warnings and ensure we call Close
if an error happens when writing to the stream.
svn path=/trunk/xsp/; revision=43375
* server/ModMonoWorkerRequest.cs:
* server/XSPWorkerRequest.cs: we can set a few server variables here.
* server/ApplicationServer.cs: remove the socket from the active list
on timeout so that we don't attempt to use it and delay the error.
svn path=/trunk/xsp/; revision=43305
* server/ApplicationServer.cs: use a foreground thread to stop the
server instead of one from the threadpool. Patch from Rob Lyon that
fixes bug #73357.
svn path=/trunk/xsp/; revision=42482
* server/ModMonoApplicationHost.cs: the lockfile is to be removed even
for TCP sockets. Also return immediately if the module wants us to
die.
* server/ApplicationServer.cs: call Dispose on the web source so that
removing the lockfile and the unix socket is done asap.
* server/XSPApplicationHost.cs: added empty Dispose().
* server/IWebSource.cs: IWebSource inherits from IDisposable now.
This fixes bug #73619.
svn path=/trunk/xsp/; revision=42022
* server/InitialWorkerRequest.cs: prevent empty lines before the
actual request from causing an error. Fixes bug #73048.
svn path=/trunk/xsp/; revision=42006
* server/ModMonoApplicationHost.cs: don't print the exception to apache
logs so that connection probing does not polute them.
svn path=/trunk/xsp/; revision=41477
* server/ApplicationServer.cs: prevent premature stop from mod_mono from
not doing the clean up. Patch from Rob Lyon.
svn path=/trunk/xsp/; revision=41475
* server/ModMonoApplicationHost.cs: ensure we close the stream to the
mod_mono socket after Decline, NotFound and in Close. Thanks to Mike
Lasky for spotting the bug.
svn path=/trunk/xsp/; revision=41355
* server/ModMonoApplicationHost.cs:
* server/ModMonoTCPWebSource.cs:
* server/server.cs: use a FileStream as a lock to prevent running
more than one mod-mono-server with the same arguments.
svn path=/trunk/xsp/; revision=40919
* server/ModMonoWorkerRequest.cs:
* server/XSPWorkerRequest.cs: now they use a common method to get the
pathinfo and pathinfo works with apache too.
* server/ModMonoRequest.cs: when there's a version mismatch, print it
everywhere so that it gets to apache logs.
* server/ApplicationServer.cs: new Paths class containing a method for
getting the path and pathinfo from an uri.
* server/InitialWorkerRequest.cs: no pathinfo computation here.
* server/XSPApplicationHost.cs: removed pathinfo parameter.
* server/Makefile.am: xsp2.exe was being installed to xsp directory !?
svn path=/trunk/xsp/; revision=40125
* server/ApplicationServer.cs: added BadRequest () to HttpErrors.
* server/XSPApplicationHost.cs: if there's a failure reading the
request, write back a 400 error to the client. Patch by Russ Young.
svn path=/trunk/xsp/; revision=39941
* server/XSPWorkerRequest.cs: if the headers have not been sent and
someone closes the connection, don't try to reuse it. Discovered thanks
to buggy user code.
svn path=/trunk/xsp/; revision=39336
* server/XSPWorkerRequest.cs: when Content-Length is set only allow
sending that amount of bytes in the body. Fixes bug #71092.
svn path=/trunk/xsp/; revision=39193