ev/net.rb in rwdtinker-1.69 vs ev/net.rb in rwdtinker-1.70
- old
+ new
@@ -782,11 +782,11 @@
rescue NameError
raise HTTPServerException
end
if (not remote) or (remote and (auth.nil? or auth.empty? or authenticate(auth, realm, req, resp)))
- $stderr.puts "#{count2} #{Time.new.strftime("%Y-%m-%d %H:%M:%S")} #{ip} #{req.user} #{req.request.to_s.strip}"
-
+ # $stderr.puts "#{count2} #{Time.new.strftime("%Y-%m-%d %H:%M:%S")} #{ip} #{req.user} #{req.request.to_s.strip}"
+ 1 == 1
begin
yield(req, resp)
rescue Exception => e
mutex.synchronize do
$stderr.puts e.class.to_s + ": " + e.message