[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-bugs
Subject:    [Mono-bugs] [Bug 357565] New: No immediate app shutdown when
From:       bugzilla_noreply () novell ! com
Date:       2008-01-31 11:48:04
Message-ID: bug-357565-28286 () https ! bugzilla ! novell ! com/
[Download RAW message or body]

https://bugzilla.novell.com/show_bug.cgi?id=357565


           Summary: No immediate app shutdown when "app_offline.htm" is
                    created
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack@novell.com
        ReportedBy: juraj@hotfeet.ch
         QAContact: mono-bugs@lists.ximian.com
          Found By: ---


According to http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx,
placing a file "app_offline.htm" into a webapp's directory will shutdown the
app (and serve this file for every request). Mono delays the shutdown until the
file is removed.

Test case:
==========

- create empty index.aspx
- create global.asax containing:

<% @Application Language="C#" %>
<script runat='server'>
void Application_Start(object o, EventArgs e) {
        Console.WriteLine("app start.");
}

void Application_End(object o, EventArgs e) {
        Console.WriteLine("app end.");
}
</script>

- start xsp2
- request http://localhost:8080/
=> "app start." message on console

- echo "Website offline" >app_offline.htm"
=> no message, no app shutdown!

(Any changes to the application while there is a "app_offline.htm" file go
unnoticed...)

- rm app_offline.htm
=> "app end."


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic