Commits on Aug 4, 2004
  1. 2004-08-04 Gonzalo Paniagua Javier <>

    	* nunit-tests/standalone/
    	* tools/nunitasp/source/NUnitAspTest/ fix distcheck on a
    	clean system and remove warnings.
    svn path=/trunk/xsp/; revision=31893
    gonzalop committed Aug 4, 2004
  2. 2004-08-04 Gonzalo Paniagua Javier <>

    	* server/ModMonoWorkerRequest.cs: GetRequestHeader is case insensitive
    	now. Thanks to Jan Jaros.
    svn path=/trunk/xsp/; revision=31869
    gonzalop committed Aug 4, 2004
Commits on Aug 2, 2004
  1. 2004-08-02 Gonzalo Paniagua Javier <>

    	* nunit-tests/standalone/
    	* scripts/.cvsignore:
    	* scripts/
    	* scripts/
    	* server/
    	* tools/asp_state/
    	* tools/dbsessmgr/
    	* tools/nunitasp/source/NUnitAsp/
    	* tools/nunitasp/source/NUnitAspTest/ added xsp and
    	mod-mono-server scripts, remove .mdb files when cleaning.
    svn path=/trunk/xsp/; revision=31750
    gonzalop committed Aug 2, 2004
Commits on Jul 30, 2004
  1. 2004-07-30 Gonzalo Paniagua Javier <>

    	* server/ApplicationServer.cs: fix host matching in presence of *.
    	Closes bug #61275.
    	* server/ModMonoWorkerRequest.cs: don't duplicate the slash when setting
    	a default file name that we know is not present.
    svn path=/trunk/xsp/; revision=31661
    gonzalop committed Jul 30, 2004
Commits on Jul 29, 2004
  1. 2004-07-29 Gonzalo Paniagua Javier <>

    	* 1.0.1.
    	* server/ApplicationServer.cs: don't timeout in Select when we only have
    	the listener socket. Use real times for timeout.
    svn path=/trunk/xsp/; revision=31618
    gonzalop committed Jul 29, 2004
Commits on Jul 28, 2004
  1. 2004-07-28 Gonzalo Paniagua Javier <>

    	* server/ApplicationServer.cs: increased the backlog for listen, set
    	accepted sockets read/write timeout to 15s and handle timeouts when
    	reading request data before submitting the work item to the threadpool.
    	* server/XSPApplicationHost.cs: don't write a 500 error response if
    	we got an IOException when reading from the network stream.
    	* server/XSPWorkerRequest.cs: if there's an IOException when reading
    	the headers, just rethrow it.
    svn path=/trunk/xsp/; revision=31587
    gonzalop committed Jul 28, 2004
Commits on Jul 19, 2004
  1. 2004-07-19 Gonzalo Paniagua Javier <>

    	* server/ModMonoApplicationHost.cs: don't write the 50x error response
    	to the stream. Just closing works and doesn't drive mod_mono crazy.
    svn path=/trunk/xsp/; revision=31286
    gonzalop committed Jul 19, 2004
Commits on Jul 15, 2004
  1. semicolon->comma

    svn path=/trunk/xsp/; revision=31165
    gonzalop committed Jul 15, 2004
Commits on Jul 13, 2004
  1. 2004-07-14 Gonzalo Paniagua Javier <>

    	* test/
    	* test/chunked.ashx: the output of this handler should be chunked for
    	1.1 clients and 1.0 clients that send the Accept-Encoding to 'chunked'.
    svn path=/trunk/xsp/; revision=31105
    gonzalop committed Jul 13, 2004
  2. 2004-07-13 Gonzalo Paniagua Javier <>

    	* server/ModMonoApplicationHost.cs:
    	* server/ModMonoRequest.cs:
    	* server/ModMonoWorkerRequest.cs: when we can't find a suitable
    	application, return NOT_FOUND to mod_mono.
    svn path=/trunk/xsp/; revision=31061
    gonzalop committed Jul 13, 2004
Commits on Jul 10, 2004
  1. tcp socket stuff

    svn path=/trunk/xsp/; revision=30978
    gonzalop committed Jul 10, 2004
  2. adjust last entry to 80 columns

    svn path=/trunk/xsp/; revision=30977
    gonzalop committed Jul 10, 2004
  3. 2004-07-10 Gonzalo Paniagua Javier <>

    	* server/ added ModMonoTCPWebSource.
    	* server/ModMonoApplicationHost.cs: in ModMonoWebSource, CreateSocket is now
    	virtual and the .ctor receives the file name as parameter.
    	* server/ModMonoRequest.cs: prevent absurd string sizes if the socket is not
    	in a expected state.
    	* server/ModMonoTCPWebSource.cs: supports mod_mono communication over a TCP
    	* server/XSPApplicationHost.cs: XSPWebSource .ctor receives address and port as
    	* server/server.cs: updated help, handle address and port in mod-mono-server.
    	Choose TCP or unix socket IWebSource depending on the arguments.
    svn path=/trunk/xsp/; revision=30976
    gonzalop committed Jul 10, 2004
Commits on Jul 9, 2004
  1. 2004-07-09 Gonzalo Paniagua Javier <>

    	* server/XSPWorkerRequest.cs: made the headers Hashtable case
    svn path=/trunk/xsp/; revision=30920
    gonzalop committed Jul 9, 2004
Commits on Jul 8, 2004
  1. less padding

    svn path=/trunk/xsp/; revision=30880
    gonzalop committed Jul 8, 2004
  2. 2004-07-08 Gonzalo Paniagua Javier <>

    	* server/BaseRequestBroker.cs: Modified file.
    	* server/ModMonoRequest.cs: more data cached on first read.
    	* server/ModMonoWorkerRequest.cs: use Buffer.BlockCopy instead of
    svn path=/trunk/xsp/; revision=30864
    gonzalop committed Jul 8, 2004
Commits on Jul 7, 2004
  1. 2004-07-07 Gonzalo Paniagua Javier <>

    	* server/ModMonoApplicationHost.cs: remove the unix socket file when
    	* test/ added missing files.
    	* test/mono-xsp.css:
    	* test/index.aspx: reduced size of the generated page.
    svn path=/trunk/xsp/; revision=30811
    gonzalop committed Jul 7, 2004
Commits on Jul 6, 2004
  1. 2004-07-07 Gonzalo Paniagua Javier <>

    	* server/ModMonoApplicationHost.cs:
    	* server/ModMonoWorkerRequest.cs:
    	* server/ModMonoRequest.cs: removed unused method/options and the
    	ack sent back after writing something. Unified setting status code
    	and message into 1 single command.
    svn path=/trunk/xsp/; revision=30806
    gonzalop committed Jul 6, 2004
Commits on Jun 29, 2004
  1. 1.0

    svn path=/trunk/xsp/; revision=30525
    migueldeicaza committed Jun 29, 2004
Commits on Jun 24, 2004
  1. Flush

    svn path=/trunk/xsp/; revision=30340
    migueldeicaza committed Jun 24, 2004
  2. 2004-06-24 Gonzalo Paniagua Javier <>

    	* 0.15.99.
    	* server/ApplicationServer.cs: added method in VPathToHost that tells
    	if we're trying /xxx where xxx is a directory (ie, we need to redirec).
    	* server/InitialWorkerRequest.cs: don't remove trailing '/' in
    	GetSafePath ().
    	* server/XSPApplicationHost.cs: handle redirects and fixed nullref.
    	Closes bug #60478.
    	* ChangeLog: style.
    	* server/ModMonoApplicationHost.cs: splitted long lines.
    	* server/MonoWorkerRequest.cs: style.
    svn path=/trunk/xsp/; revision=30324
    gonzalop committed Jun 24, 2004
Commits on Jun 22, 2004
  1. added 3 missing .png files

    svn path=/trunk/xsp/; revision=30094
    gonzalop committed Jun 22, 2004
Commits on Jun 20, 2004
  1. * IApplicationHost.cs: Added RequestBroker property to IApplicationH…

    	  The application host will query for information through this object,
    	  which lives in the main domain.
    	* Added new files.
    	* ModMonoRequest.cs: Added position parameter in SendResponseFromMemory, so
    	  we can send partially filled buffers.
    	  GetClientBlock(): Some checks that where done in ModMonoWorkerRequest
    	  have been moved here. We can avoid two cross-app domain calls in this
    	  Merged SetStatusCode and SetStatusLine into SetStatusCodeLine. We avoid
    	  another cross-app domain call.
    	* ModMonoWorkerRequest.cs: Renamed to ModMonoWorkerRequest, to make things
    	  more understandable.
    	  Removed all references to ModMonoRequest. All request information is
    	  now available as input parameters or through the IRequestBroker.
    	  Some old calls to ModMonoRequest have been merged into a single
    	  IRequestBroker call, to avoid the overhead of a cross-app domain call.
    	* XSPApplicationHost.cs: Most of the code has been moved to other classes:
    	  ApplicationServer, WebSource, XSPWebSource, ModMonoWebSource...
    	* XSPWorkerRequest.cs: Removed dependency to RequestData, since passing it
    	  through the cross-app domain channel requires serialization support.
    	  The same information is passed as primitive parameters.
    	  In general, calls to the network stream are now done through the
    	* server.cs: Create the ApplicationServer by providing a ModMonoWebSource
    	  or a XSPWebSource instance.
    	* ApplicationServer.cs: New file. Moved here the old XSPApplicationServer.
    	  Almost all code is now shared between XSP and mod_mono. Specific behavior
    	  is now encapsulated in an IWebSource object.
    	* LingeringNetworkStream.cs: New file. Moved here the old MyNetworkStream.
    	* BaseApplicationHost.cs: New file. Moved here the old XSPApplicationHost.
    	* WebSource.cs: New file. Defines the IWebSource and IWorker interfaces.
    	* XSPApplicationHost.cs: New file. Provides an implementation for XSP
    	  of a IWebSource, an IRequestBroker, an IApplicationHost and an IWorker.
    	* ModMonoApplicationHost.cs: New file. Provides an implementation for
    	  mod_mono of a IWebSource, an IRequestBroker, an IApplicationHost and an
    svn path=/trunk/xsp/; revision=29988
    slluis committed Jun 20, 2004
  2. Write dump.log in the temp directory

    svn path=/trunk/xsp/; revision=29971
    gonzalop committed Jun 20, 2004
Commits on Jun 19, 2004
  1. 2004-06-19 Gonzalo Paniagua Javier <>

    	* test/ install extensions.dll into test directory so that
    	ServiceClient.exe runs fine.
    svn path=/trunk/xsp/; revision=29948
    gonzalop committed Jun 19, 2004
Commits on Jun 15, 2004
  1. 0.15

    svn path=/trunk/xsp/; revision=29635
    migueldeicaza committed Jun 15, 2004
  2. 2004-06-15 Gonzalo Paniagua Javier <>

    	* test/favicon.ico:
    	* test/index.aspx:
    	* test/mono-powered-big.png:
    	* test/mono-xsp.css:
    	* test/monobutton.png:
    	* test/small-icon.png: better appearance. Patch from Antonio Ognio.
    svn path=/trunk/xsp/; revision=29607
    gonzalop committed Jun 15, 2004
  3. fix,fix

    svn path=/trunk/xsp/; revision=29557
    gonzalop committed Jun 15, 2004
Commits on Jun 14, 2004
  1. 2004-06-14 Gonzalo Paniagua Javier <>

    	* server/XSPApplicationHost.cs: allow wilcard for vhosts, fixed matching
    	of /xxx when we have a vhost for /xxx/, matching moved to VPathToHost
    	class and improved. When creating a new host, lock on the VPathToHost
    	object, not the entire array of vhosts.
    	* server/server.cs: don't allow duplicated options passed in the command
    	line. No need to wait on a handle when --nonstop. Just make the runner
    	thread have IsBackGround to false and finish the main one.
    svn path=/trunk/xsp/; revision=29539
    gonzalop committed Jun 14, 2004
Commits on Jun 12, 2004
  1. cosmetics

    svn path=/trunk/xsp/; revision=29405
    gonzalop committed Jun 12, 2004
  2. removed Console

    svn path=/trunk/xsp/; revision=29399
    gonzalop committed Jun 12, 2004
  3. 2004-06-12 Gonzalo Paniagua Javier <>

    	* dbpage1.aspx:
    	* dbpage2.aspx: fixed connection leaks by adding a Page_Unload method
    	that closes the connection.
    svn path=/trunk/xsp/; revision=29398
    gonzalop committed Jun 12, 2004
Commits on Jun 11, 2004
  1. no need for the @Import

    svn path=/trunk/xsp/; revision=29273
    gonzalop committed Jun 11, 2004
  2. 2004-06-11 Gonzalo Paniagua Javier <>

    	* test/ added typedesc.*
    	* test/typedesc.(aspx|cs): sample test control showing how a Type that
    	has a TypeDescriptor can be saved/restored to/from ViewState.
    svn path=/trunk/xsp/; revision=29269
    gonzalop committed Jun 11, 2004
Commits on Jun 10, 2004
  1. don't create the dummy buffer if not needed

    svn path=/trunk/xsp/; revision=29193
    gonzalop committed Jun 10, 2004