commit | 78e8107fe84f650ca957217cd0229d01674f21ce | [log] [tgz] |
---|---|---|
author | Michael Krebs <mkrebs@chromium.org> | Tue May 15 22:46:56 2012 |
committer | Gerrit <chrome-bot@google.com> | Thu May 17 15:05:52 2012 |
tree | dfcca6e4dd5898c802f9ce234bffa4cf15b053de | |
parent | a3b90bcf39094fedbadeaf4fbd48f42632b2c67d [diff] |
breakpad: sym_upload: Show failure if symbol server gives redirect response Add a "response_code" parameter to Linux's HTTPUpload::SendRequest() that, if non-NULL, will be set to the response code of the HTTP request. Using that, sym_upload will print a failure message on Linux if the response code is not 200. This is in line with the change made by http://breakpad.appspot.com/77001/ for the Mac version. BUG=chromium-os:30032, google-breakpad:480 TEST=Ran "sym_upload powertop.sym http://test.webdav.org/redir-tmp/" Ran "sym_upload powertop.sym http://clients2.google.com/cr/staging_symbol" Change-Id: I4a37e9f6a3cc5f2903d51db97567cd6e459c717f Reviewed-on: https://gerrit.chromium.org/gerrit/22763 Commit-Ready: Michael Krebs <mkrebs@chromium.org> Tested-by: Michael Krebs <mkrebs@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org>