Hi Max, 

We don’t currently propagate and therefore map vpp errors onto vcl connection 
errors, so you can’t retrieve the error number through vcl.

Florin

> On Oct 21, 2019, at 12:17 PM, Max A. <[email protected]> wrote:
> 
> Hi Florin,
>  
> These events are enough. How can I get the error number? I see that 
> VPPCOM_ATTR_GET_ERROR is not working yet.
>  
> Thank you.
>  
> Пятница, 18 октября 2019, 18:04 +03:00 от Florin Coras 
> <[email protected]>:
>  
> Hi Max, 
>  
> I had this patch [1] that indirectly fixes the issue lying around. So, is an 
> EPOLLOUT | EPOLLHUP event enough to signal a failed async connect for you?
>  
> Thanks,
> Florin
>  
> [1] https://gerrit.fd.io/r/c/vpp/+/22274 
> <https://gerrit.fd.io/r/c/vpp/+/22274> 
>  
>> On Oct 18, 2019, at 2:07 AM, Max A. <[email protected] 
>> <x-msg://e.mail.ru/compose/?mailto=mailto%[email protected]>> wrote:
>>  
>> Hi Florin,
>>  
>> vppcom_session_connect in non-blocking mode works well only if the 
>> connection can be successfully established. If the connection cannot be 
>> established, then no event is raised about this. How can this be fixed?
>>  
>> Thanks.
>> 
>>  
>> Четверг, 5 сентября 2019, 1:04 +03:00 от Florin Coras 
>> <[email protected] 
>> <x-msg://e.mail.ru/compose/?mailto=mailto%[email protected]>>:
>>  
>> Hi Max, 
>>  
>> Here’s the patch that allows non-blocking connects [1]. 
>>  
>> Florin
>>  
>> [1] https://gerrit.fd.io/r/c/vpp/+/21610 
>> <https://gerrit.fd.io/r/c/vpp/+/21610>
>>  
>>> On Aug 15, 2019, at 7:41 AM, Florin Coras via Lists.Fd.Io 
>>> <[email protected] <>> wrote:
>>>  
>>> Hi Max,
>>> 
>>> Not at this time. It should be possible with a few changes for nonblocking 
>>> sessions. I’ll add it to my list, in case nobody else beats me to it.
>>> 
>>> Florin
>>>  
>>>> 
>>>> On Aug 15, 2019, at 2:47 AM, Max A. via Lists.Fd.Io 
>>>> <[email protected] <>> wrote:
>>>> 
>>>> Hello,
>>>> 
>>>> Can vppcom_session_connect() function run in non-blocking mode? I see that 
>>>> there is a wait for the connection result in the 
>>>> vppcom_wait_for_session_state_change function.  Is it possible to get the 
>>>> result of the connection using vppcom_epoll_wait?
>>>> 
>>>> Thanks.
>>>> -=-=-=-=-=-=-=-=-=-=-=-
>>>> Links: You receive all messages sent to this group.
>>>> 
>>>> View/Reply Online (#13745): https://lists.fd.io/g/vpp-dev/message/13745 
>>>> <https://lists.fd.io/g/vpp-dev/message/13745>
>>>> Mute This Topic: https://lists.fd.io/mt/32885087/675152 
>>>> <https://lists.fd.io/mt/32885087/675152>
>>>> Group Owner: [email protected] <>
>>>> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub 
>>>> <https://lists.fd.io/g/vpp-dev/unsub>  [[email protected] <>]
>>>> -=-=-=-=-=-=-=-=-=-=-=-
>>> 
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>> Links: You receive all messages sent to this group.
>>> 
>>> View/Reply Online (#13747): https://lists.fd.io/g/vpp-dev/message/13747 
>>> <https://lists.fd.io/g/vpp-dev/message/13747>
>>> Mute This Topic: https://lists.fd.io/mt/32885087/675152 
>>> <https://lists.fd.io/mt/32885087/675152>
>>> Group Owner: [email protected] <>
>>> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub 
>>> <https://lists.fd.io/g/vpp-dev/unsub>  [[email protected] <>]
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>  
>>  
>> --
>> Max A.
>  
>  
> --
> Max A.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14258): https://lists.fd.io/g/vpp-dev/message/14258
Mute This Topic: https://lists.fd.io/mt/32885087/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to