[Bbs2ch-cvs 188] [170] DATをダウンロードする前にotputstream をflush

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2007年 7月 23日 (月) 22:29:11 JST


Revision: 170
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=bbs2ch&view=rev&rev=170
Author:   flyson
Date:     2007-07-23 22:29:11 +0900 (Mon, 23 Jul 2007)

Log Message:
-----------
DATをダウンロードする前にotputstream をflush

Modified Paths:
--------------
    trunk/bbs2chreader/chrome/content/bbs2chreader/server/thread.js
    trunk/bbs2chreader/components/b2rServer.js

Modified: trunk/bbs2chreader/chrome/content/bbs2chreader/server/thread.js
===================================================================
--- trunk/bbs2chreader/chrome/content/bbs2chreader/server/thread.js	2007-07-21 18:25:50 UTC (rev 169)
+++ trunk/bbs2chreader/chrome/content/bbs2chreader/server/thread.js	2007-07-23 13:29:11 UTC (rev 170)
@@ -244,6 +244,7 @@
 			this.close();
 		}
 
+		this._handler.flush();
 		this.datDownload();
 	},
 

Modified: trunk/bbs2chreader/components/b2rServer.js
===================================================================
--- trunk/bbs2chreader/components/b2rServer.js	2007-07-21 18:25:50 UTC (rev 169)
+++ trunk/bbs2chreader/components/b2rServer.js	2007-07-23 13:29:11 UTC (rev 170)
@@ -324,6 +324,12 @@
 		}
 	},
 
+	flush: function(aString){
+		if(this._transport && this._transport.isAlive()){
+			this._output.flush();
+		}
+	},
+
 	setResponseHeader: function(aName, aValue){
 		if(aValue === null){
 			if(aName in this._responseHeaders){




bbs2ch-cvs メーリングリストの案内
Back to archive index