afb-socket: Relax requirement of tcp ending slash 21/17521/1
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 30 Oct 2018 15:25:54 +0000 (16:25 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 30 Oct 2018 15:39:55 +0000 (16:39 +0100)
commit875007d15f4a73cd2c1078d821b16008f34a8abf
tree08d9870aad844197ed4a2a7356a00b4488dc07f4
parent8754e33fc9c85ac2175a5c4bd0c874c47eff65df
afb-socket: Relax requirement of tcp ending slash

The uri for tcp was requiring a slash (/) after the
port. This change allows to not provide that slash.
This is usefull for future implementation of HTTP
server selection.

Change-Id: I0a76d167065258d242845579b7c8728eefcc359f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-socket.c