Skip to content
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.

Commit

Permalink
2004-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Browse files Browse the repository at this point in the history
	* test/Makefile.am:
	* 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
  • Loading branch information
gonzalop committed Jul 13, 2004
1 parent fb83d29 commit d839254
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -1,3 +1,9 @@
2004-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* test/Makefile.am:
* 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'.

2004-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* server/ModMonoApplicationHost.cs:
Expand Down
1 change: 1 addition & 0 deletions test/Makefile.am
Expand Up @@ -65,6 +65,7 @@ testfiles = browsercaps.aspx \
registertest2.ascx \
ConverterService.asmx \
TestService.asmx \
chunked.ashx \
monodoc.ashx \
webhandler.ashx \
mod-mono-server.exe.config \
Expand Down
25 changes: 25 additions & 0 deletions test/chunked.ashx
@@ -0,0 +1,25 @@
<%@ WebHandler Language="c#" class="XSPTest.ChunkedTest" %>

using System;
using System.Web;

namespace XSPTest
{
public class ChunkedTest : IHttpHandler
{
public void ProcessRequest (HttpContext context)
{
HttpResponse response = context.Response;
for (int i = 0; i < 10; i++) {
string msg = new string ((char) (i + 'a'), 10000);
response.Output.WriteLine (msg);
response.Flush ();
}
}

public bool IsReusable {
get { return true; }
}
}
}

0 comments on commit d839254

Please sign in to comment.