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
The problem is the rm.Do(req) in ~ Components.go:394
if the Do function returns a timeout error then accessing resp again will cause a stack crash. My solution was to change the line to this
will correctly print the timeout error I am not sure what that code was there for but it may need to be fixed differently.
To reproduce do a nexusrm.UploadComponent with a file larger then can be uploaded then the timeout in nexus.go file and it will sigsegv. Since its returning
if err != nil {
return nil, nil, err
}
If you need more details let me know.
The text was updated successfully, but these errors were encountered:
Getting a stack crash on a timeout in the gonexus api which is located here
will sigsegv with this type of error
The problem is the rm.Do(req) in ~ Components.go:394
if the Do function returns a timeout error then accessing
resp
again will cause a stack crash. My solution was to change the line to thiswill correctly print the timeout error I am not sure what that code was there for but it may need to be fixed differently.
To reproduce do a nexusrm.UploadComponent with a file larger then can be uploaded then the timeout in nexus.go file and it will sigsegv. Since its returning
If you need more details let me know.
The text was updated successfully, but these errors were encountered: