You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you don't call it before calling one of the connection methods then it will be called for you on the first access.
And the Call method says
This will Authenticate if necessary, and re-authenticate if it receives a 401 error which means the token has expired
But if user create the connection object and use Call method directly, program will receive SIGSEGV,
because the conn.authLock member is not initialized yet. Other method like ObjectPutObjectDelete also
suffer from this problem.
Although the sample code do call Authenticate after connection object construction. I thought the document may be
a little misleading. :D
The text was updated successfully, but these errors were encountered:
The
Authentication
method says:And the
Call
method saysBut if user create the connection object and use
Call
method directly, program will receiveSIGSEGV
,because the
conn.authLock
member is not initialized yet. Other method likeObjectPut
ObjectDelete
alsosuffer from this problem.
Although the sample code do call
Authenticate
after connection object construction. I thought the document may bea little misleading. :D
The text was updated successfully, but these errors were encountered: