Github user apiri commented on a diff in the pull request:

    https://github.com/apache/nifi-minifi-cpp/pull/395#discussion_r217225710
  
    --- Diff: libminifi/include/RemoteProcessorGroupPort.h ---
    @@ -137,16 +141,27 @@ class RemoteProcessorGroupPort : public 
core::Processor {
       std::string getInterface() {
         return local_network_interface_;
       }
    -  // setURL
    +  /**
    +   * Sets the url. Supports a CSV
    +   */
       void setURL(std::string val) {
    -    url_ = val;
    -    utils::parse_url(&url_, &host_, &port_, &protocol_);
    -    if (port_ == -1) {
    -      if (protocol_.find("https") != std::string::npos) {
    -        port_ = 443;
    -      } else if (protocol_.find("http") != std::string::npos) {
    -        port_ = 80;
    +    auto urls = utils::StringUtils::split(val, ",");
    +    //url_ = val;
    --- End diff --
    
    should get removed


---

Reply via email to