[omniORB] Specifying path in endPointPublish has no effect

姜 维 sdjiangwei at live.cn
Tue Dec 7 02:08:05 UTC 2021


eg2_impl -ORBendPointNoPublish giop:http:ws://:1234/a/b/c/d -ORBendPointPublish giop:http:ws://1.2.3.4/x/y/z


Type ID: "IDL:Echo:1.0"
Profiles:
1. IIOP 1.2 1.2.3.4 0 "\xfe\x00\xc8\xada\x00\x00%\x04\x00\x00\x00\x00\x00"
      TAG_ORB_TYPE omniORB (ATT\x00)
      TAG_CODE_SETS char native code set:       UTF-8
                    char conversion code sets:  UTF-8
                    wchar native code set:      UTF-16
                    wchar conversion code sets: UTF-16

      TAG_OMNIORB_HTTP_TRANS ws://1.2.3.4:1234/a/b/c/d





Index: src/lib/omniORB/orbcore/http/httpEndpoint.cc
===================================================================
--- src/lib/omniORB/orbcore/http/httpEndpoint.cc        (revision 6584)
+++ src/lib/omniORB/orbcore/http/httpEndpoint.cc        (working copy)
@@ -138,7 +138,7 @@
       ps_port = ep_port;

     prefix = prefixForScheme(ps_scheme);
-    to_add = omniURI::buildURI(prefix, ps_host, ps_port, ep_path);
+    to_add = omniURI::buildURI(prefix, ps_host, ps_port, ps_path);
   }
   else if (no_publish) {
     // Suppress all the other options
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.omniorb-support.com/pipermail/omniorb-list/attachments/20211207/2b9956cb/attachment.html>


More information about the omniORB-list mailing list