-
Notifications
You must be signed in to change notification settings - Fork 48
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
Segfault when authorizing with HTTP proxy #33
Comments
At first glance, it looks like it's not getting everything back from the request it makes or the JSON it gets is somehow malformed. I'm not terribly familiar with Squid, but I'm not sure why you would want to connect through it for this. All the requests are HTTPS, IIRC; I don't believe it can actually cache anything useful. Anyway, something you could try is to add |
I just have Squid set as the default proxy through environmental variables and fuse-google-drive or libraries it uses picked it up. Below are last parts of the output when going through and without Squid. Is Squid returning the HTTP headers as part of the JSON content (between
|
I modified your comment to remove the oauth tokens from the responses. It appears as though the closing |
Beside the closing
|
Heh, yeah... Either of those could be adequate to break the JSON parsing. I have an idea for a hack that might fix this most of the time, but I'm not sure what the root cause is to fix it completely. The hack would be to skip to the first instance of Can't say I'm a huge fan of this solution, though. Maybe I'll setup Squid in a VM and see if I can come up with something better. |
Can you configure Squid not to emit the headers on the reply? Would http://www.squid-cache.org/Doc/config/reply_header_access/ help? |
When I use Squid HTTP/HTTPS proxy, fuse-google-drive segfaults near the end of the process (after outputing
Connection #0 to host 127.0.0.1 left intact
) and fails to mount. When I go without the proxy, it works correctly.Backtrace:
I can paste the output too, but I'm not sure if it contains any information about my account...
The text was updated successfully, but these errors were encountered: