On 03.09.2014 14:43, Saúl Ibarra Corretgé wrote:
My concern is with that last part: if a function which doesn’t support async is 
called within an async block it will block but then make the jump thus 
deceiving the user into believing it was async when it isn’t. We need to fail 
loudly and tell users they are doing it wrong, iMHO.
Of course, we can detect that at script parsing and decide how to handle it:
    - ignore and do it blocking
    - warning and do it blocking
    - error and do not start.

I’d say we shouldn’t start :-)
I will keep that in mind ;)

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to