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

Issue 852213004: win: Add implementation of HTTPTransport based on WinHTTP (Closed)

Created:
5 years, 11 months ago by scottmg
Modified:
5 years, 10 months ago
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@multiproc-impl
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

win: Add implementation of HTTPTransport based on WinHTTP (There's also https://codereview.chromium.org/854363006/ based on WinInet, I'm still a little uncertain which is preferable here.) R=cpu@chromium.org, mark@chromium.org, rsesek@chromium.org, ananta@chromium.org BUG=crashpad:1 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/7c9bd944ae1318f312e19401fb59f7364b6effb7

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : goop to find python #

Patch Set 4 : lib dep to gyp #

Patch Set 5 : fix wrap #

Patch Set 6 : Add custom PLOG for winhttp #

Patch Set 7 : fix port #

Patch Set 8 : fix urlpath #

Patch Set 9 : workaround for post data #

Patch Set 10 : check status #

Total comments: 25

Patch Set 11 : various fixes #

Patch Set 12 : end_headers in do_POST #

Patch Set 13 : rebase #

Patch Set 14 : %z fix, now all http_transport_test pass #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -7 lines) Patch
M util/net/http_transport_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +13 lines, -1 line 0 comments Download
M util/net/http_transport_test_server.py View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -0 lines 0 comments Download
A util/net/http_transport_win.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +214 lines, -0 lines 2 comments Download
M util/util.gyp View 1 2 3 3 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
scottmg
cpu/ananta, could you take a look at the WinHTTP goop? rsesek for overall HTTPTransport.
5 years, 11 months ago (2015-01-21 00:17:50 UTC) #3
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/852213004/diff/210001/util/net/http_transport_win.cc File util/net/http_transport_win.cc (right): https://codereview.chromium.org/852213004/diff/210001/util/net/http_transport_win.cc#newcode33 util/net/http_transport_win.cc:33: const int kErrorMessageBufferSize = 256; nit: remove the constant ...
5 years, 11 months ago (2015-01-21 02:26:25 UTC) #5
Mark Mentovai
https://codereview.chromium.org/852213004/diff/210001/util/net/http_transport_test.cc File util/net/http_transport_test.cc (right): https://codereview.chromium.org/852213004/diff/210001/util/net/http_transport_test.cc#newcode34 util/net/http_transport_test.cc:34: #include <stdlib.h> This header is available on non-Windows, you ...
5 years, 11 months ago (2015-01-21 19:23:17 UTC) #6
scottmg
Thanks! https://codereview.chromium.org/852213004/diff/210001/util/net/http_transport_test.cc File util/net/http_transport_test.cc (right): https://codereview.chromium.org/852213004/diff/210001/util/net/http_transport_test.cc#newcode34 util/net/http_transport_test.cc:34: #include <stdlib.h> On 2015/01/21 19:23:17, Mark Mentovai wrote: ...
5 years, 11 months ago (2015-01-21 19:48:27 UTC) #10
scottmg
https://codereview.chromium.org/852213004/diff/210001/util/net/http_transport_win.cc File util/net/http_transport_win.cc (right): https://codereview.chromium.org/852213004/diff/210001/util/net/http_transport_win.cc#newcode145 util/net/http_transport_win.cc:145: post_data.insert(post_data.end(), buffer, buffer + bytes_to_write); On 2015/01/21 19:48:27, scottmg ...
5 years, 11 months ago (2015-01-21 20:44:00 UTC) #11
scottmg
( I'm also confused by the errors when running the test that connects to util\net\http_transport_test_server.py. ...
5 years, 11 months ago (2015-01-22 00:12:07 UTC) #12
cpu_(ooo_6.6-7.5)
lgtm I think we are going to end up using GURL but that is something ...
5 years, 11 months ago (2015-01-22 00:13:06 UTC) #13
scottmg
On 2015/01/22 00:12:07, scottmg wrote: > ( > > I'm also confused by the errors ...
5 years, 11 months ago (2015-01-22 00:20:00 UTC) #14
scottmg
On 2015/01/22 00:20:00, scottmg wrote: > On 2015/01/22 00:12:07, scottmg wrote: > > ( > ...
5 years, 11 months ago (2015-01-22 01:01:23 UTC) #15
Robert Sesek
LGTM. Sorry, I forgot this was to me after Mark replied. https://codereview.chromium.org/852213004/diff/370001/util/net/http_transport_win.cc File util/net/http_transport_win.cc (right): ...
5 years, 10 months ago (2015-01-26 21:17:09 UTC) #17
scottmg
Thanks. Mark, do you want to take another look, or OK to land? https://codereview.chromium.org/852213004/diff/370001/util/net/http_transport_win.cc File ...
5 years, 10 months ago (2015-01-26 21:22:35 UTC) #18
Mark Mentovai
I was happy with this after your changes. LGTM.
5 years, 10 months ago (2015-01-26 21:27:04 UTC) #20
scottmg
5 years, 10 months ago (2015-01-26 21:31:39 UTC) #22
Message was sent while issue was closed.
Committed patchset #14 (id:370001) manually as
7c9bd944ae1318f312e19401fb59f7364b6effb7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698