Fix socketclient for VPP 19.08 80/20580/1
authorOndrej Fabry <ofabry@cisco.com>
Wed, 10 Jul 2019 05:14:20 +0000 (07:14 +0200)
committerOndrej Fabry <ofabry@cisco.com>
Wed, 10 Jul 2019 05:14:20 +0000 (07:14 +0200)
commit4dca07c803308611275f78b490ac0352c1052fe2
treeefb52ff663ef3b16f4bd6957379a572c5fd49de0
parentb1006dced4cc0c23d9dc754e97d89500aeb55170
Fix socketclient for VPP 19.08

- in VPP 19.08 the socket type has changed to STREAM and data has to
  be writtento VPP with single flush, otherwise msg might get mixed
  with next header and cause VPP to stop responding
- this also fixes WaitReady for socketclient and vppapiclient

Change-Id: I022724c0c09c9b92d4c695d1cf2be15994fff717
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
adapter/socketclient/socketclient.go
adapter/vppapiclient/vppapiclient.go
core/channel.go
core/connection.go
core/request_handler.go