Re: [vpp-dev] How to actively close the client connections in http server? #vnet

2018-11-23 Thread Florin Coras
Ow, so the issue is the reset. Could you try to call stream_session_disconnect instead of stream_session_cleanup in the handle? Florin > On Nov 22, 2018, at 6:51 AM, Andreas Schultz > wrote: > > Hi, > > Florin Coras mailto:fcoras.li...@gmail.com>> schrieb > am Mi., 21. Nov. 2018 um 18:33

Re: [vpp-dev] How to actively close the client connections in http server? #vnet

2018-11-21 Thread Florin Coras
> On Nov 21, 2018, at 8:55 AM, Andreas Schultz > wrote: > > Florin Coras mailto:fcoras.li...@gmail.com>> schrieb > am Mi., 21. Nov. 2018 um 17:18 Uhr: > Hi Andreas, > > The trace lower suggests your tcp connection was freed but you still got data > for it. tcp-input and the checks in

Re: [vpp-dev] How to actively close the client connections in http server? #vnet

2018-11-21 Thread Andreas Schultz
Florin Coras schrieb am Mi., 21. Nov. 2018 um 17:18 Uhr: > Hi Andreas, > > The trace lower suggests your tcp connection was freed but you still got > data for it. tcp-input and the checks in established should prevent that > from happening and the session layer should not receive any events

Re: [vpp-dev] How to actively close the client connections in http server? #vnet

2018-11-21 Thread Florin Coras
Hi Andreas, The trace lower suggests your tcp connection was freed but you still got data for it. tcp-input and the checks in established should prevent that from happening and the session layer should not receive any events after the transport notifies it that the session will cleaned up.

Re: [vpp-dev] How to actively close the client connections in http server? #vnet

2018-11-21 Thread Andreas Schultz
Florin Coras schrieb am Fr., 18. Mai 2018 um 08:12 Uhr: > 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

Re: [vpp-dev] How to actively close the client connections in http server? #vnet

2018-05-20 Thread Burt Silverman
I was amused to read this on VPP simply because I have been spending less time with VPP than previously because I am spending a bunch of time with Arduino stuff -- and most of my time there is spent trying to figure out why "read" or "recv" on a socket (using lwip stack) is not properly

Re: [vpp-dev] How to actively close the client connections in http server? #vnet

2018-05-18 Thread Florin Coras
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,

[vpp-dev] How to actively close the client connections in http server? #vnet

2018-05-17 Thread muziding
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?