summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/net/http.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 415e99ca5..e05064ce0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Nov 16 09:45:23 2003 Minero Aoki <aamine@loveruby.net>
+
+ * lib/net/http.rb (set_debug_output): warn if method is called
+ after #start. [ruby-dev:38798]
+
Sun Nov 16 04:41:33 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (eval): do not re-raise exception to avoid unnecessary
diff --git a/lib/net/http.rb b/lib/net/http.rb
index 684e55f8d..33febdd7a 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -366,6 +366,7 @@ module Net # :nodoc:
# http.start { .... }
#
def set_debug_output( output )
+ warn 'Net::HTTP#set_debug_output called after HTTP started'
@debug_output = output
end