HPCC-27101 Roxie Error reading query from socket Maximum block size Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com> Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com> Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
@@ -1397,7 +1397,8 @@ int CCD_API roxie_main(int argc, const char *argv[], const char * defaultYaml)
}
const char *soname = roxieFarm.queryProp("@so");
const char *config = roxieFarm.queryProp("@config");
- Owned<IHpccProtocolPlugin> protocolPlugin = ensureProtocolPlugin(*protocolCtx, soname);
+ // NB: leaks - until we fix bug in ensureProtocolPlugin() whereby some paths return a linked object and others do not
+ IHpccProtocolPlugin *protocolPlugin = ensureProtocolPlugin(*protocolCtx, soname);
roxieServer.setown(protocolPlugin->createListener(protocol ? protocol : "native", createRoxieProtocolMsgSink(ip, port, numThreads, suspended), port, listenQueue, config, certFileName.str(), keyFileName.str(), passPhraseStr.str()));
else