[vpp-dev] Use libvcl_ldpreload with gdb #vpp

2018-06-01 Thread ductm18
Hi, I'm trying to develop an app using the vcl library. Unfortunately, I cannot start the app with gdb when preloading the library. I start it with this command: > > sudo VCL_DEBUG=2 LDP_DEBUG=2 > LD_PRELOAD=/home/hardcore/ductm/vpp/lib64/libvcl_ldpreload.so gdb > ./epoll-server Sometimes, gdb cr

Re: [vpp-dev] Using custom openssl with vpp #vpp

2018-05-15 Thread ductm18
Hi Florin, Yep, that works. After adding some flags into the .am file, I can link the openssl plugin with openssl 1.1. Thank you! DucTM

[vpp-dev] Using custom openssl with vpp #vpp

2018-05-14 Thread ductm18
Hi, I'm trying to customize the openssl plugin that needs to work with openssl 1.1 (with some modification also). Applying the new openssl version to the system is not possible since there are some other apps rely on openssl, and they do not work with openssl 1.1. Is there any configuration I can

[vpp-dev] Active open connection on multithread #vnet #vpp

2018-05-09 Thread ductm18
Hi, I'm trying to use the proxy app (on vnet/session-apps). The code works fine if I run vpp with 1 thread (just master). With more than 1 thread, the code fails because of some assertions such as: - Function transport_alloc_local_port - vnet/session/transport.c 237 /* Only support active opens

[vpp-dev] VPP VCL Lib error #vpp

2018-04-17 Thread ductm18
Hello, I am trying to use the VCL lib to connect VPP and my server app. My code worked perfectly fine with VPP 18.01. But when I upgrade to VPP 18.04 (and 18.07 also), it hasn't worked anymore. The code still works if i try with 1 client at a times. But with more than 1 client at a moment, the s