Compare the api returned url and the given url2connect less error prone.
Using --sslport=443 results in a url2connect https://vcenter:443/... while
get_option returns https://vcenter/...
Also it seems like some api returns .../sdk while others return .../sdk/webService
so just ignore that part.
Both leads to not resuing the existing session files.
Compare the api returned url and the given url2connect less error prone. Using --sslport=443 results in a url2connect https://vcenter:443/... while get_option returns https://vcenter/... Also it seems like some api returns .../sdk while others return .../sdk/webService so just ignore that part. Both leads to not resuing the existing session files.
this should fix #115