-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid header field value for "X-Lantern-Device-Id" #1285
Conversation
atavism
commented
Jan 10, 2025
- Trims space around deviceID when setting it from lantern secrets in the home directory
- Consolidate settings with app package
- Update flashlight and some other dependencies
@@ -77,6 +77,7 @@ func NewClient(baseURL string, userConfig func() common.UserConfig) ProClient { | |||
Timeout: 30 * time.Second, | |||
} | |||
} else { | |||
//rt, _ := proxied.ChainedNonPersistent("") | |||
httpClient = &http.Client{ | |||
Transport: proxied.ParallelForIdempotent(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did some testing, and these updates work well with both proxied.ChainedNonPersistent
and proxied. ParallelForIdempotent
@jigar-f I guess we need to downgrade Go again to support Android, but for the time being could you please take a look? Thank you! |
@atavism Just a couple of comments and just pushed changes for downgrade to go |
…tern-client into atavism/updates-device-id
@jigar-f thanks for the review! |