lib/le/host/http.rb in le-2.6.1 vs lib/le/host/http.rb in le-2.6.2
- old
+ new
@@ -5,12 +5,10 @@
require 'uri'
module Le
module Host
class HTTP
- LIBRARY_IDENTIFIER = '###R01### - Library initialised'
-# API_SERVER = 'api.logentries.com'
API_SERVER = 'api.logentries.com'
API_PORT = 10000
API_SSL_PORT = 20000
SHUTDOWN_COMMAND = "DIE!DIE!" # magic command string for async worker to shutdown
@@ -92,11 +90,9 @@
@host_name="host_name=#{@host_name}"
end
@queue = Queue.new
- # Add identifer msg to queue to be sent first
- @queue << "#{@token}#{LIBRARY_IDENTIFIER}\n"
@started = false
@thread = nil
if @debug
self.init_debug