- responses should always have the same id as the request.

This commit is contained in:
Jordan Sissel 2009-10-19 10:21:49 +00:00
parent 405a813f68
commit bff4949129

View file

@ -189,6 +189,7 @@ module LogStash; module Net; module Servers
def DirectoryRequestHandler(request)
response = LogStash::Net::Messages::DirectoryResponse.new
response.id = request.id
response.indexers = @indexers.keys
yield response
end