Permalink
Browse files

Trace when connection accepted

  • Loading branch information...
1 parent 75139f0 commit 125c4fda91f6f01b6cafc02fdaade3920d099ac5 @purcell committed Aug 31, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/postfix-policy-whois
View
@@ -51,6 +51,7 @@ $LOG.log(Syslog::LOG_INFO, "Listening on 0.0.0.0:#{PORT}")
while true
Thread.new(server.accept) do |client|
+ $LOG.log(Syslog::LOG_DEBUG, "Got connection")
attr = Hash.new
while rp = client.gets
break if rp == "\n"

0 comments on commit 125c4fd

Please sign in to comment.