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

635 Коммитов

Автор SHA1 Сообщение Дата
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
Raja R Harinath ca2df228f1 Fix 'make distcheck'.
* src/Mono.WebServer/Makefile.am (EXTRA_DIST): Add key.snk.
(Mono.WebServer.dll): Pass /keyfile: option.
* src/Mono.WebServer/AssemblyInfo.cs (AssemblyKeyFile): Disable.

svn path=/trunk/xsp/; revision=45235
2005-05-31 06:17:12 +00:00
Gonzalo Paniagua Javier bcf299eed3 Install
svn path=/trunk/xsp/; revision=45230
2005-05-31 03:25:17 +00:00
Gonzalo Paniagua Javier 7548cda923 cleanfiles
svn path=/trunk/xsp/; revision=45229
2005-05-31 03:09:49 +00:00
Gonzalo Paniagua Javier 9063d63d8c changed src file here too
svn path=/trunk/xsp/; revision=45214
2005-05-30 21:58:30 +00:00
Gonzalo Paniagua Javier 050de5e149 changed src file here too
svn path=/trunk/xsp/; revision=45213
2005-05-30 21:58:00 +00:00
Gonzalo Paniagua Javier 6fe66e8fa7 renamed "server" to "src"
svn path=/trunk/xsp/; revision=45209
2005-05-30 21:57:06 +00:00
Gonzalo Paniagua Javier 660c251d66 2005-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in:
	* server/MonoWorkerRequest.cs:
	* server/ModMonoWorkerRequest.cs:
	* server/XSPWorkerRequest.cs:
	* server/Tracing.cs:
	* server/BaseRequestBroker.cs:
	* server/ApplicationServer.cs:
	* server/BaseApplicationHost.cs:
	* server/LingeringNetworkStream.cs:
	* server/Makefile.am:
	* server/IWebSource.cs:
	* server/Mono.WebServer:
	* server/Mono.WebServer/AssemblyInfo.cs:
	* server/Mono.WebServer/Makefile.am:
	* server/IApplicationHost.cs:
	* server/Mono.WebServer/*: moved Mono.WebServer.dll files into a new
	directory.


svn path=/trunk/xsp/; revision=45207
2005-05-30 21:55:58 +00:00
Gonzalo Paniagua Javier db9d07ad88 dll name
svn path=/trunk/xsp/; revision=44600
2005-05-16 22:58:33 +00:00
Gonzalo Paniagua Javier 5c07320814 2005-05-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in: HEAD is now 1.1.x
	* server/AssemblyInfoModMono.cs.in:
	* server/XSPApplicationHost.cs:
	* server/InitialWorkerRequest.cs:
	* server/AssemblyInfo.cs.in:
	* server/Makefile.am:
	* server/server.cs: this is now Mono.WebServer.dll. xsp.exe is there
	just to pass the options to the new assembly. Most of the patch by
	Brian Ritchie.


svn path=/trunk/xsp/; revision=44599
2005-05-16 22:39:22 +00:00
Gonzalo Paniagua Javier 22a5bce473 No need to use the event in the previous patch
svn path=/trunk/xsp/; revision=44232
2005-05-09 01:09:45 +00:00
Ben Maurer b54eb848b5 oops
svn path=/trunk/xsp/; revision=44230
2005-05-08 23:57:58 +00:00
Gonzalo Paniagua Javier 1a20d5aba6 remove debugging code
svn path=/trunk/xsp/; revision=44224
2005-05-08 19:55:48 +00:00
Gonzalo Paniagua Javier b64c086144 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* server/MonoWorkerRequest.cs: call the EndOfSend notification when
	the request is told to be ended.


svn path=/trunk/xsp/; revision=44223
2005-05-08 19:34:07 +00:00
Ben Maurer 9a0ac52c28 2005-05-07 Ben Maurer <bmaurer@ximian.com>
* configure.in: put the full path to mono in RUNTIME
	* */Makefile.am: s.$libdir.$prefix/lib, since that's what mono
	uses. Also, for scripts, use RUNTIME rather than just `mono'.


svn path=/trunk/xsp/; revision=44211
2005-05-07 22:37:58 +00:00
Gonzalo Paniagua Javier 3ce28a488d 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* server/ModMonoWorkerRequest.cs: implemented IsClientConnected.
	* server/ModMonoRequest.cs: added IsConnected and increased version
	number.

	* server/BaseRequestBroker.cs:
	* server/ModMonoApplicationHost.cs: Close the current connection before
	stopping the server when a shutdown request is received.
	* server/XSPApplicationHost.cs:
	* server/IWebSource.cs: IsConnected is now part if IWorker interface.


svn path=/trunk/xsp/; revision=44206
2005-05-07 20:07:01 +00:00
Ben Maurer ce6ea9b345 2005-05-03 Ben Maurer <bmaurer@ximian.com>
* configure.in: 1.0.9


svn path=/trunk/xsp/; revision=43954
2005-05-03 17:32:53 +00:00
Miguel de Icaza 30917dadac Emit warning
svn path=/trunk/xsp/; revision=43832
2005-04-30 19:48:22 +00:00
Gonzalo Paniagua Javier 3299fcc484 2005-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* server/ModMonoWorkerRequest.cs:
	* server/XSPWorkerRequest.cs:
	* server/ModMonoRequest.cs: Default -> DefaultInvariant. Also don't
	send a FLUSH command to mod_mono, as it's ignored.


svn path=/trunk/xsp/; revision=43646
2005-04-27 09:18:50 +00:00
Miguel de Icaza 096b845723 Typo
svn path=/trunk/xsp/; revision=43614
2005-04-26 18:45:48 +00:00
Gonzalo Paniagua Javier a0f7bb9ef6 this file is under customcontrol
svn path=/trunk/xsp/; revision=43377
2005-04-21 02:57:26 +00:00
Gonzalo Paniagua Javier 869807f566 </body>
svn path=/trunk/xsp/; revision=43376
2005-04-21 02:53:24 +00:00