Re: [vpp-dev] nginx+vpp with epoll pattern failed #vpp #ngnix #epoll

2019-07-22 Thread Florin Coras
Hi, It’s not clear from your email if you’re trying it out with ldp or directly with vcl. If you’re trying a direct integration with vcl, note that vcl epoll is edge triggered, so you must read all data before waiting for another rx event. Florin > On Jul 22, 2019, at 7:32 PM, fjc...@hotma

[vpp-dev] nginx+vpp with epoll pattern failed #vpp #ngnix #epoll

2019-07-22 Thread fjcyue
We use vpp as tcp protocol stack to work with nginx in epoll pattern, but nginx cannot get epollout event. When we use sendfile pattern, it can transfer file completely. However, if we use aio pattern, nginx cannot get epollout event, and the file cannot be transferred completely. Meanwhile, the