mercury icon indicating copy to clipboard operation
mercury copied to clipboard

Cannot HG_Forward to self

Open mdorier opened this issue 7 years ago • 1 comments

When SELF_FORWARD is disabled, the address returned by HG_Addr_self cannot be used to forward RPCs. Instead, one has to convert it into a string (HG_Addr_to_string) then do a lookup to get an hg_addr_t object that can be used for forwarding RPCs.

mdorier avatar Jun 14 '17 15:06 mdorier

This was disabled intentionally so that you can only forward to yourself if that option is turned ON. I believe we could try to forward anyway using the self address and use the transport is that option is turned OFF but I'm not sure all the transports will support it unless you do a lookup before.

soumagne avatar Jun 14 '17 16:06 soumagne