mirror of
https://github.com/znc/znc.git
synced 2026-07-07 02:11:20 +02:00
WebModules: Make PAGE_DONE imply Close()
When one now finishes a web request with PAGE_DONE, the code actively calls Close(CLT_AFTERWRITE) which one previously had to call explicitly. This means there is finally a difference between PAGE_DONE and PAGE_DEFERRED. ;) git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1981 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ public:
|
||||
PAGE_NOTFOUND, // print 404 and Close()
|
||||
PAGE_PRINT, // print page contents and Close()
|
||||
PAGE_DEFERRED, // async processing, Close() will be called from a different place
|
||||
PAGE_DONE // all stuff has been done and Close() has been called (e.g. by CHTTPSock::Redirect)
|
||||
PAGE_DONE // all stuff has been done
|
||||
};
|
||||
|
||||
CWebSock(CModule* pModule);
|
||||
|
||||
Reference in New Issue
Block a user