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

Issue 9624005: Fix hostname lookup on Windows (Closed)

Created:
8 years, 9 months ago by Søren Gjesse
Modified:
8 years, 9 months ago
Reviewers:
Mads Ager (google)
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix hostname lookup on Windows The previous implementation was broken and did not use the result retreived from gethostbyname. Changed the implementation to use getaddrinfo as gethostbyname has been deprecated in the Winsock2 library. Added a test to test that something can be read from www.google.com. R=ager@google.com BUG=none TEST=tests/standalone/src/io/HttpClientTest.dart Committed: https://code.google.com/p/dart/source/detail?r=5097

Patch Set 1 #

Patch Set 2 : Minor fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -7 lines) Patch
M runtime/bin/socket_win.cc View 1 1 chunk +16 lines, -7 lines 0 comments Download
A tests/standalone/src/io/HttpClientTest.dart View 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Søren Gjesse
8 years, 9 months ago (2012-03-07 15:13:27 UTC) #1
Mads Ager (google)
8 years, 9 months ago (2012-03-07 15:17:38 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698