* src/ModMonoWorkerRequest.cs: don't append the index file name
after the path in presence of path_info. Fixes bug #76604.
svn path=/trunk/xsp/; revision=52497
* src/ModMonoWorkerRequest.cs:
* src/ModMonoRequest.cs: server variables are now read when getting the
initial data.
* src/Makefile.am: don't show warning 618.
* src/Mono.WebServer/Makefile.am: Modified file.
* src/ModMonoApplicationHost.cs: s/Mono.Posix/Mono.Unix/
svn path=/trunk/xsp/; revision=52033
* src/Makefile.am: Added security.cs to the build.
* src/server.cs: Removed security configuration from the source. Added
new options for client certificates and pkcs#12 support.
* src/security.cs: New. Keep all security configuration in a single
place. Added support (and logic) to support certificates and keys
inside PKCS#12 files.
* src/Mono.WebServer/XSPApplicationHost.cs: Add support for mandatory
client certificates.
* man/xsp.1.in: Updated man page with the new options for client side
certificates and pkcs#12 files support.
svn path=/trunk/xsp/; revision=51009
* src/Mono.WebServer/XSPWorkerRequest.cs: return 0 when trying to read
the entity body from a GET/HEAD request.
* src/Mono.WebServer/XSPApplicationHost.cs:
* src/ModMonoApplicationHost.cs: moved Run into InnerRun. MS was
throwing a TypeLoadException before running the method and we didn't
catch that one, so the connection wasn't being closed.
svn path=/trunk/xsp/; revision=50268
* src/ModMonoRequest.cs: when reading a string from mod_mono, handle
short reads. From a patch by Mathias Herberts.
svn path=/trunk/xsp/; revision=50260
* src/ModMonoRequest.cs: avoid 500 response when the body was actually
sent. Patch by dean@brettle.com that fixes bug #76124.
svn path=/trunk/xsp/; revision=50223
Really: if you are adding anything that changes the public use of an
application (environment variables, command line options) you must
document before you commit.
svn path=/trunk/xsp/; revision=49700
* src/Mono.WebServer/XSPWorkerRequest.cs: sendfile() might need to be
called more than once for big files (tried with a 1GiB one). Fixes bug
#75926.
svn path=/trunk/xsp/; revision=49432
* src/ModMonoWorkerRequest.cs: pretend the client is HTTP/1.0 so that
System.Web does not tries to send chunked content. Apache will take care
of that. If the Flush is final, call CloseConnection. Implemented
sendfile support
* src/ModMonoRequest.cs: added SEND_FILE command an increased version
number.
* src/Mono.WebServer/MonoWorkerRequest.cs: use the IntPtr version of
SendResponseFromFile if no override is available.
* src/Mono.WebServer/XSPWorkerRequest.cs: removed TODO.
* src/ModMonoApplicationHost.cs: SendFile support.
svn path=/trunk/xsp/; revision=49050
* src/Mono.WebServer/MonoWorkerRequest.cs: default encoding will be
latin1.
* src/Mono.WebServer/XSPWorkerRequest.cs: if we're running on linux, use
send, setsockopt and sendfile from libc. No more buffering done but
for the headers. Use TCP_CORK. Use sendfile() for SendResponseFromFile
when possible.
* src/Mono.WebServer/ApplicationServer.cs: catch a possible error.
* src/Mono.WebServer/XSPApplicationHost.cs: pass the socket handle to
the worker request.
* src/Mono.WebServer/InitialWorkerRequest.cs: work directly on the
input buffer instead of calling ReadByte().
* src/Mono.WebServer/Makefile.am: add -unsafe flag.
svn path=/trunk/xsp/; revision=48957
* XSPWorkerRequest.cs: if we get a 0, don't pretend we read up to 'size'.
* XSPApplicationHost.cs: returning 0 in Read is fine.
svn path=/trunk/xsp/; revision=48870
* XSPWorkerRequest.cs: if we get a -1 when reading the request, the
client closed or there was an error. For a 0 we just return what we
have so far.
svn path=/trunk/xsp/; revision=48866
* src/Mono.WebServer/XSPApplicationHost.cs: if reading from the socket
returns 0 bytes, signal it returning a -1 in Read.
svn path=/trunk/xsp/; revision=46405
* tools/asp_state/asp_state.cs: find configuration filename to match the
executable name and path plus ".config", that fix not finding the oldnamed
"asp_state.exe.config" what make it work for asp-state2.exe, besides it was
looking for the configuration file in the current dir, not the dir containing
the executable. Also for first timers like me be a bit more verbose and don't
start if some command line arguments are passed (I tried a asp-state --help
and got baffled).
svn path=/trunk/xsp/; revision=46162
* src/Mono.WebServer/BaseRequestBroker.cs: keep a cache of the buffers
passed through remoting instead of creating a new one in all the cases.
svn path=/trunk/xsp/; revision=45810
* configure.in:
* src/Mono.WebServer/AssemblyInfo.cs: renamed into...
* src/Mono.WebServer/AssemblyInfo.cs.in: ...this.
* src/Mono.WebServer/Makefile.am: don't use -keyfile, as csc does not
support it. Now 'distcheck' passes and the build works on windows.
svn path=/trunk/xsp/; revision=45297
* src/XSPApplicationHost.cs: Removed file.
* src/InitialWorkerRequest.cs: Removed file.
* src/XSPWorkerRequest.cs: Removed file.
* src/Makefile.am: Modified file.
* src/Mono.WebServer/Makefile.am: moved some 'meat' to Mono.WebServer.
xsp.exe is now just 'server.cs' + classes in Mono.WebServer.
svn path=/trunk/xsp/; revision=45285