Граф коммитов

706 Коммитов

Автор SHA1 Сообщение Дата
Miguel de Icaza a6e1506a00 1.1.10
svn path=/trunk/xsp/; revision=52742
2005-11-08 22:06:53 +00:00
Gonzalo Paniagua Javier 4c4c85a980 2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2005-11-02 23:11:03 +00:00
Gonzalo Paniagua Javier 18d7038c9f 2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/ModMonoWorkerRequest.cs:
	* src/ModMonoRequest.cs:
	* src/server.cs:
	* src/Mono.WebServer/ApplicationServer.cs:
	* src/ModMonoApplicationHost.cs: added support for dynamically created
	ASP.NET applications.

	* man/xsp.1.in: documented the --master option.


svn path=/trunk/xsp/; revision=52486
2005-11-02 18:56:16 +00:00
Gonzalo Paniagua Javier a6ae8b0f99 Patch by Mike Glenn to properly continue after an error creting the worker.
svn path=/trunk/xsp/; revision=52387
2005-10-29 23:26:07 +00:00
Gonzalo Paniagua Javier 130078adc0 2005-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2005-10-21 17:28:40 +00:00
Gonzalo Paniagua Javier a691b180f1 2005-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/ModMonoRequest.cs: all the server variables are now written
	at once from mod_mono.


svn path=/trunk/xsp/; revision=51554
2005-10-11 08:33:27 +00:00
Gonzalo Paniagua Javier 80e045e576 fix paths. Bug #76357
svn path=/trunk/xsp/; revision=51392
2005-10-07 04:38:50 +00:00
Sebastien Pouliot 7360c900ff 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
* src/server.cs: Added *all* new options in --help.
	* man/xsp.1.in: Fixed typo.


svn path=/trunk/xsp/; revision=51025
2005-09-30 03:01:24 +00:00
Sebastien Pouliot 45204df1c9 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
* 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
2005-09-29 20:29:57 +00:00
Gonzalo Paniagua Javier 4cf2e9e25c 2005-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.WebServer/XSPWorkerRequest.cs: when the connection is secure,
	use the regular stream.


svn path=/trunk/xsp/; revision=50808
2005-09-27 03:36:14 +00:00
Gonzalo Paniagua Javier 61bd4b3036 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2005-09-19 23:31:13 +00:00
Gonzalo Paniagua Javier 446870b2c5 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2005-09-19 21:23:34 +00:00
Gonzalo Paniagua Javier 12592cab05 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2005-09-19 09:25:33 +00:00
Miguel de Icaza 307dff2796 Fix this on Windows
svn path=/trunk/xsp/; revision=49726
2005-09-08 19:28:20 +00:00
Miguel de Icaza af8792bb18 This one is ready for release
svn path=/trunk/xsp/; revision=49702
2005-09-08 13:50:20 +00:00
Miguel de Icaza 88c26f25a4 More documentation.
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
2005-09-08 13:42:50 +00:00
Gonzalo Paniagua Javier 6ac95b41ea 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.WebServer/MonoWorkerRequest.cs:
	* src/Mono.WebServer/XSPWorkerRequest.cs:
	* src/Mono.WebServer/XSPApplicationHost.cs: added support for client
	certificates. Patch by Sebastien Pouliot.


svn path=/trunk/xsp/; revision=49611
2005-09-07 05:09:32 +00:00
Gonzalo Paniagua Javier c84cd7efea 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2005-09-05 06:40:08 +00:00
Gonzalo Paniagua Javier 05b39a4e1b 2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/ModMonoRequest.cs: write all the headers at once.


svn path=/trunk/xsp/; revision=49242
2005-09-01 04:11:03 +00:00
Gonzalo Paniagua Javier 69541e719b svn path=/trunk/xsp/; revision=49233 2005-08-31 23:34:22 +00:00
Gonzalo Paniagua Javier 52ad4cd739 test for IHttpAsyncHandler
svn path=/trunk/xsp/; revision=49232
2005-08-31 23:33:52 +00:00
Gonzalo Paniagua Javier 6b1c19face 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2005-08-29 01:40:07 +00:00
Gonzalo Paniagua Javier 53ce6eed63 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2005-08-26 23:52:26 +00:00
Gonzalo Paniagua Javier 1c2be38fb7 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2005-08-26 06:13:05 +00:00
Gonzalo Paniagua Javier 6ce36043a5 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2005-08-26 04:14:57 +00:00
Gonzalo Paniagua Javier 0f3c8b43f5 Hack to pretend we are a 1.1 server
svn path=/trunk/xsp/; revision=48706
2005-08-23 00:14:16 +00:00
Gonzalo Paniagua Javier 548b3ed011 fix versions here
svn path=/trunk/xsp/; revision=48705
2005-08-23 00:02:09 +00:00
Gonzalo Paniagua Javier 4371a1238a 2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in:
	* src/Makefile.am:
	* src/Mono.WebServer/xsp-2.pc.in:
	* src/Mono.WebServer/xsp.pc.in:
	* src/Mono.WebServer/key.snk:
	* src/Mono.WebServer/AssemblyInfo2.cs.in:
	* src/Mono.WebServer/AssemblyInfo.cs.in:
	* src/Mono.WebServer/Makefile.am:
	* scripts/Makefile.am: bye bye gacutil, welcome "Application Deployment
	Guidelines".


svn path=/trunk/xsp/; revision=47726
2005-07-26 23:38:00 +00:00
Gonzalo Paniagua Javier 5f40a0f66a update
svn path=/trunk/xsp/; revision=47629
2005-07-25 06:10:48 +00:00
Gonzalo Paniagua Javier 308f4c96dd update web.config
svn path=/trunk/xsp/; revision=47628
2005-07-25 06:10:35 +00:00
Miguel de Icaza f789d7be5e Got tired of samples being in the wrong place
svn path=/trunk/xsp/; revision=47619
2005-07-24 21:26:10 +00:00
Ben Maurer 4d1d920912 make this work on windows
svn path=/trunk/xsp/; revision=47487
2005-07-20 22:21:45 +00:00
Gonzalo Paniagua Javier 7acada4014 add cookie-less test
svn path=/trunk/xsp/; revision=47394
2005-07-18 20:21:38 +00:00
Gonzalo Paniagua Javier 2351d68c7b test for server.transfer
svn path=/trunk/xsp/; revision=47354
2005-07-15 20:41:53 +00:00
Miguel de Icaza e7d42f209a Test to dump state at various stages
svn path=/trunk/xsp/; revision=47321
2005-07-14 20:59:25 +00:00
Gonzalo Paniagua Javier 6272c9cd48 one more
svn path=/trunk/xsp/; revision=47247
2005-07-13 00:23:44 +00:00
Gonzalo Paniagua Javier b7e67d4bc6 oops
svn path=/trunk/xsp/; revision=47246
2005-07-13 00:22:19 +00:00
Gonzalo Paniagua Javier 8214c9a9fc remove this. Blame on svn
svn path=/trunk/xsp/; revision=47245
2005-07-13 00:20:27 +00:00
Jordi Mas i Hernandez 90dea77578 revert local change
svn path=/trunk/xsp/; revision=47191
2005-07-12 07:42:08 +00:00
Jordi Mas i Hernandez 8eafa5e4e7 fixes no longer exists URL
svn path=/trunk/xsp/; revision=47190
2005-07-12 07:39:58 +00:00
Gonzalo Paniagua Javier 16cba8e276 2005-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2005-06-22 23:28:18 +00:00
Rafael Teixeira e3d520c7c6 2005-06-17:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* test/button-vb.aspx: small typo correction
	

svn path=/trunk/xsp/; revision=46163
2005-06-17 18:18:18 +00:00
Rafael Teixeira c4100b3f33 2005-06-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* 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
2005-06-17 18:15:54 +00:00
Gonzalo Paniagua Javier d98c406b42 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2005-06-11 22:47:36 +00:00
Gonzalo Paniagua Javier 2755f86915 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.WebServer/XSPWorkerRequest.cs: platform check.


svn path=/trunk/xsp/; revision=45803
2005-06-11 16:26:26 +00:00
Gonzalo Paniagua Javier 533f0f1537 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.WebServer/LingeringNetworkStream.cs: really keep lingering
	for 30s.


svn path=/trunk/xsp/; revision=45791
2005-06-10 19:15:31 +00:00
Ben Maurer 4ceb0a3fa8 2005-06-05 Ben Maurer <bmaurer@ximian.com>
* configure.in: handle gacutil more correctly :-)


svn path=/trunk/xsp/; revision=45444
2005-06-05 21:46:51 +00:00
Ben Maurer eb39a82ffb 2005-06-02 Ben Maurer <bmaurer@ximian.com>
* src/Mono.WebServer/Makefile.am: Handle gacutil and destdir
	correctly.

	* configure.in: GACUTIL flags


svn path=/trunk/xsp/; revision=45335
2005-06-02 16:51:27 +00:00
Gonzalo Paniagua Javier 1cd249a96d 2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2005-06-01 13:03:42 +00:00
Gonzalo Paniagua Javier 74a09caa11 2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2005-06-01 07:43:54 +00:00