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

635 Коммитов

Автор SHA1 Сообщение Дата
Gonzalo Paniagua Javier a794e7edfd forgot this
svn path=/trunk/xsp/; revision=38011
2004-12-21 01:38:22 +00:00
Gonzalo Paniagua Javier fbe3bf0989 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2004-12-21 00:12:42 +00:00
Gonzalo Paniagua Javier acf690e72d version
svn path=/trunk/xsp/; revision=37813
2004-12-15 22:40:21 +00:00
Raja R Harinath 58d16502a9 Some 'distcheck' fixes.
* 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
2004-12-15 09:15:26 +00:00
Gonzalo Paniagua Javier 5e351d1a63 2.0
svn path=/trunk/xsp/; revision=37722
2004-12-14 04:53:06 +00:00
Gonzalo Paniagua Javier 7a374ce6d7 2.0
svn path=/trunk/xsp/; revision=37721
2004-12-14 04:50:45 +00:00
Gonzalo Paniagua Javier 8606d84232 2.0 scripts
svn path=/trunk/xsp/; revision=37720
2004-12-14 04:47:29 +00:00
Gonzalo Paniagua Javier c9f2bfeb95 install to 2.0. oops.
svn path=/trunk/xsp/; revision=37719
2004-12-14 04:40:49 +00:00
Gonzalo Paniagua Javier ece6f71532 2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2004-12-14 04:27:23 +00:00
Gonzalo Paniagua Javier 4cb807b7f2 2004-12-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2004-12-11 07:24:33 +00:00
Raja R Harinath 5ed008eb73 'make distcheck' fixes.
* doc/Makefile.am (mod-mono-server.1): Fix non-srcdir build.
* scripts/Makefile.am ($(bin_SCRIPTS)): Likewise.
* server/Makefile.am (xsp_only): Remove AssemblyInfo.cs.in.
(xsp_build_sources): Add AssemblyInfo.cs.
(modmono_only): Remove AssemblyInfoModMono.cs.in.
(modmono_build_sources): Add AssemblyInfoModMono.cs.
(EXTRA_DIST): Add AssemblyInfo.cs.in and AssemblyInfoModMono.cs.in.
(xsp.exe, mod-mono-server.exe): Remove GNU-makeism.

svn path=/trunk/xsp/; revision=37563
2004-12-10 10:49:15 +00:00
Gonzalo Paniagua Javier b0d8626d6f 2004-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2004-12-10 06:21:30 +00:00
Gonzalo Paniagua Javier 60c41485a1 2004-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* server/XSPWorkerRequest.cs: if we don't have a Content-Length, force
	closing the connection.


svn path=/trunk/xsp/; revision=37373
2004-12-08 04:50:44 +00:00
Miguel de Icaza 49a81df0f4 Fix
svn path=/trunk/xsp/; revision=37335
2004-12-07 21:54:55 +00:00
Gonzalo Paniagua Javier dd886affdd 2004-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2004-12-02 10:17:35 +00:00
Lluis Sanchez 1f7c61c7c5 Fix build
svn path=/trunk/xsp/; revision=36647
2004-11-26 16:20:32 +00:00
Miguel de Icaza 06e98f068f Make the two helper programs scripts on their own
svn path=/trunk/xsp/; revision=36612
2004-11-26 04:02:52 +00:00
Miguel de Icaza 5decea240d Complete
svn path=/trunk/xsp/; revision=36611
2004-11-26 04:02:38 +00:00
Miguel de Icaza e61f9a5818 Update
svn path=/trunk/xsp/; revision=36610
2004-11-26 04:02:25 +00:00
Miguel de Icaza bd955e5718 More .exe removal from bindir
svn path=/trunk/xsp/; revision=36608
2004-11-26 03:42:50 +00:00
Alp Toker a24258aed6 2004-11-24 Alp Toker <alp@atoker.com>
* server/XSPApplicationHost.cs: remove slash

svn path=/trunk/xsp/; revision=36495
2004-11-24 20:01:59 +00:00
Gonzalo Paniagua Javier 44e1b2c090 2004-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* server/MonoWorkerRequest.cs:
	* server/ModMonoWorkerRequest.cs:
	* server/XSPWorkerRequest.cs:
	* server/ModMonoRequest.cs:
	* server/BaseRequestBroker.cs:
	* server/AssemblyInfoModMono.cs.in:
	* server/ModMonoApplicationHost.cs:
	* server/ApplicationServer.cs:
	* server/InitialWorkerRequest.cs:
	* server/BaseApplicationHost.cs:
	* server/XSPApplicationHost.cs:
	* server/ModMonoTCPWebSource.cs:
	* server/AssemblyInfo.cs.in:
	* server/LingeringNetworkStream.cs:
	* server/server.cs:
	* server/IWebSource.cs:
	* server/IApplicationHost.cs:
	* COPYING: relicensed under MIT style license.


svn path=/trunk/xsp/; revision=36493
2004-11-24 19:06:20 +00:00
Gonzalo Paniagua Javier 889bd27e31 changelog
svn path=/trunk/xsp/; revision=36492
2004-11-24 19:04:04 +00:00
Gonzalo Paniagua Javier 763f4db180 2004-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2004-11-24 17:50:02 +00:00
Gonzalo Paniagua Javier acad51ec59 2004-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2004-11-21 23:56:11 +00:00
Gonzalo Paniagua Javier f9b126f4f3 2004-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2004-11-21 04:59:01 +00:00
Gonzalo Paniagua Javier 104364467c forgot this
svn path=/trunk/xsp/; revision=36075
2004-11-12 22:11:45 +00:00
Gonzalo Paniagua Javier d9cce3ad31 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2004-11-12 21:55:08 +00:00
Gonzalo Paniagua Javier 0ab3166658 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2004-11-11 14:30:35 +00:00
Gonzalo Paniagua Javier 714d1074b6 2004-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2004-11-02 20:52:20 +00:00
Miguel de Icaza 5fea2eedf1 Approved by Gonzalo
svn path=/trunk/xsp/; revision=35488
2004-10-29 22:06:24 +00:00
Miguel de Icaza 2c25847042 Version
svn path=/trunk/xsp/; revision=35466
2004-10-29 18:35:46 +00:00
Gonzalo Paniagua Javier fd8f9ba5bc 2004-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2004-10-29 04:55:34 +00:00
Ben Maurer 08293c7c12 2004-10-17 Ben Maurer <bmaurer@ximian.com>
* server/MonoWorkerRequest.cs (MapPath): avoid the
	concat here.

svn path=/trunk/xsp/; revision=35058
2004-10-17 15:46:54 +00:00
Gonzalo Paniagua Javier 835b97a5ad 2004-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* server/ApplicationServer.cs: set the accepted socket to Blocking.

svn path=/trunk/xsp/; revision=34993
2004-10-14 13:33:37 +00:00
Ben Maurer 4811c76835 2004-10-03 Ben Maurer <bmaurer@ximian.com>
* server/ApplicationServer.cs: use UtcNow

svn path=/trunk/xsp/; revision=34644
2004-10-03 22:02:40 +00:00
Anirban Bhattacharjee af542d85a1 Image, text files and folders
svn path=/trunk/xsp/; revision=34597
2004-10-01 13:42:54 +00:00
Anirban Bhattacharjee 8af920ee87 Adding files and folders
svn path=/trunk/xsp/; revision=34596
2004-10-01 13:40:06 +00:00
Anirban Bhattacharjee 541cf15c9e New Directory
svn path=/trunk/xsp/; revision=34595
2004-10-01 13:36:20 +00:00
Gonzalo Paniagua Javier 1517358171 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* test/web_regularexpressionvalidator.aspx: improved example. Patch by
	Tomasz Rybak.

svn path=/trunk/xsp/; revision=34554
2004-09-30 12:01:51 +00:00
Ben Maurer 9184537ff3 commentification
svn path=/trunk/xsp/; revision=34539
2004-09-30 01:35:06 +00:00
Ben Maurer 470c4a3b79 2004-09-29 Ben Maurer <bmaurer@ximian.com>
* 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
2004-09-30 00:58:58 +00:00
Ben Maurer b1dfe84845 2004-09-28 Ben Maurer <bmaurer@ximian.com>
* 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
2004-09-28 23:18:46 +00:00
Gonzalo Paniagua Javier 19d66d127d 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in: 1.0.2.99
	* server/ApplicationServer.cs: application server never dies.
	* test/web_table2.aspx: added missing runat attributes.

svn path=/trunk/xsp/; revision=34455
2004-09-27 23:40:50 +00:00
Gonzalo Paniagua Javier 92d3a2c6a7 no thumbnails here
svn path=/trunk/xsp/; revision=34440
2004-09-27 18:39:11 +00:00
Gonzalo Paniagua Javier d17c931433 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2004-09-23 21:13:43 +00:00
Gonzalo Paniagua Javier e88820ce99 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* server/ApplicationServer.cs: make the server socket non-blocking and
	ignore any exception on Accept.

svn path=/trunk/xsp/; revision=33779
2004-09-12 19:38:40 +00:00
Ben Maurer f13ef99994 add comment
svn path=/trunk/xsp/; revision=33778
2004-09-12 19:29:08 +00:00
Ben Maurer ed77202bac 2004-09-12 Ben Maurer <bmaurer@ximian.com>
* server/server.cs: allow for clean exit (workaround)
	* server/XSPWorkerRequest.cs: avoid a remoting call.
	cache MemoryStreams
	* InitialWorkerRequest.cs: cache byte [] buffers.

svn path=/trunk/xsp/; revision=33777
2004-09-12 16:27:16 +00:00
Ben Maurer e93a311c9e ssh
svn path=/trunk/xsp/; revision=33774
2004-09-12 15:39:35 +00:00