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
fix: recreate http request on each auth retry and clean up client state (#213)
- Move http.NewRequest inside auth retry loop in doRequest/doRequestRaw
so the request body is not consumed on the first attempt
- Use headers.Clone() per iteration to avoid header mutation across retries
- Move snapshotClientState and clone helpers to clientstate.go
- Clear resp.Data after JSON materialization to prevent dual-path state
- Fix materializeJSONQueryRows early-return guard for empty typedRows slice
- Add internal consistency check in rows.Next for dual typed/raw row state
- Expose RowCount() and CellString() as public accessors on QueryResponse
0 commit comments