That http server is just example code that executes the contents of a get request as a cli commands within a spawned vpp process. So, if you want to disconnect _after_ the the reply is sent, call vnet_disconnect_session () at the end of http_cli_process.
Florin > On May 17, 2018, at 10:52 PM, muziding <muziding...@163.com> wrote: > > Hi > > I want to make the example of http server actively close the client > connection, instead of waiting for the client to close connection, after http > server has responded to the client request. What should I do? >