Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Issue 6802003: crash-reporter: Make use of list_proxies to send crashes via a proxy when appropriate (Closed)

Created:
9 years, 8 months ago by Michael Krebs
Modified:
9 years, 3 months ago
Reviewers:
kmixter1
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

crash-reporter: Make use of list_proxies to send crashes via a proxy when appropriate BUG=chromium-os:6828 TEST=Manually ran crash_sender to make sure it would run curl with appropriate --proxy option. Manually ran curl using proxies from "http://proxyconfig.corp.google.com/wpad.dat". Ran a modified crash_sender manually to make sure it passed the appropriate "--proxy" arguments correctly. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=6ec1d53

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix per codereview comments. #

Total comments: 2

Patch Set 3 : Work-around a bug with the "local" builtin command in dash #

Patch Set 4 : Rename 'get_proxies' command to 'list_proxies' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
M crash_sender View 1 2 3 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Michael Krebs
Here's my change to crash_sender to make it use get_proxies.
9 years, 8 months ago (2011-04-06 02:37:06 UTC) #1
kmixter1
http://codereview.chromium.org/6802003/diff/1/crash_sender File crash_sender (right): http://codereview.chromium.org/6802003/diff/1/crash_sender#newcode72 crash_sender:72: GET_PROXIES="/sbin/get_proxies" Shouldn't this be installed in bin or usr/bin? ...
9 years, 8 months ago (2011-04-06 04:16:53 UTC) #2
Michael Krebs
PTAL http://codereview.chromium.org/6802003/diff/1/crash_sender File crash_sender (right): http://codereview.chromium.org/6802003/diff/1/crash_sender#newcode72 crash_sender:72: GET_PROXIES="/sbin/get_proxies" On 2011/04/06 04:16:54, kmixter1 wrote: > Shouldn't ...
9 years, 8 months ago (2011-04-12 00:03:30 UTC) #3
kmixter1
LGTM with one question http://codereview.chromium.org/6802003/diff/4001/crash_sender File crash_sender (right): http://codereview.chromium.org/6802003/diff/4001/crash_sender#newcode272 crash_sender:272: curl "${url}" ${proxy:+--proxy "$proxy"} \ ...
9 years, 8 months ago (2011-04-12 00:35:40 UTC) #4
Michael Krebs
PTAL. Proxies with spaces work as far as not splitting into multiple args, but I ...
9 years, 8 months ago (2011-04-12 23:00:59 UTC) #5
kmixter1
9 years, 8 months ago (2011-04-13 00:08:51 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698