afb-ws-client: Improve direct URI 53/23553/1
authorJose Bollo <jose.bollo@iot.bzh>
Tue, 7 Jan 2020 09:28:27 +0000 (10:28 +0100)
committerJose Bollo <jose.bollo@iot.bzh>
Tue, 7 Jan 2020 13:25:23 +0000 (14:25 +0100)
commit164f14144f2d2339db023abfc899e034c24958cc
tree2a9aca29f134db10ce171ce7e28a98fe93adc032
parent36ed9d2eb93f135ff293df5716f8232c664d32f4
afb-ws-client: Improve direct URI

The direct connection URI was expecting a slash after the port
for "tcp:" URI.  This slash is not needed because it does not
carry any meaning. This change implements the ability to set
or not the path of URI.

Bug-AGL: SPEC-3094

Change-Id: I3d4c350f4e917759cbf82ccc0d261aa420f6f88a
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
src/afb-ws-client.c