Commit 24ca611c authored by Renato Figueiro Maia's avatar Renato Figueiro Maia

[OPENBUS-2535] Adicionar suporte SSL no núcleo do barramento

- Ajuste para nova API de configuração de opções TCP do OiL 0.7.

git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/sdk/lua/trunk@162472 ae0415b3-e90b-0410-900d-d0be9363c56b
parent 985cde3c
......@@ -604,11 +604,18 @@ local module = {
}
function module.initORB(configs)
if configs == nil then configs = {} end
if configs.tcpoptions == nil then
configs.tcpoptions = {reuseaddr = true}
if configs == nil then
configs = {}
end
if configs.options == nil then
configs.options = {}
end
if configs.options.tcp == nil then
configs.options.tcp = {reuseaddr=true}
end
if configs.flavor == nil then
configs.flavor = "cooperative;corba.intercepted"
end
configs.flavor = configs.flavor or "cooperative;corba.intercepted"
local orb = neworb(configs)
loadidl(orb)
loadoldidl(orb)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment