[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

WeBrick and Windows CGI BUGS

walter

9/23/2003 3:00:00 PM

The patch to add a delay for the deleting of the temporary files
work. But I seem to need a delay of 1.5 seconds or greater otherwise
I have sporadic errors. This does not seem right to me, I'll look
into this some more.

There is a bug in cgihandler.rb under windows.

The popen should be opened in binary mode in windows or I sometimes
get errors in cgi_runner.rb when it tries to restore the hash.

cgihandler.rb Line 35
from : cgi_in = IO::popen(@cgicmd, "w")
to : cgi_in = IO::popen(@cgicmd, "wb")



Thanks,


Walt
*****************************************************
Walter Szewelanczyk
IS Director
M.W. Sewall & CO. email : walter@mwsewall.com
259 Front St. Phone : (207) 442-7994 x 128
Bath, ME 04530 Fax : (207) 443-6284
*****************************************************


1 Answer

GOTOU Yuuzou

9/23/2003 3:30:00 PM

0