Skip to content
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

Use NetworkConnector directly to account for replaced hosts #16131

Merged
merged 5 commits into from Mar 26, 2017

Conversation

@nox
Copy link
Member

nox commented Mar 25, 2017

This change is Reviewable

@highfive
Copy link

highfive commented Mar 25, 2017

Heads up! This PR modifies the following files:

  • @fitzgen: components/script/dom/url.rs, components/script/dom/htmlformelement.rs, components/script/dom/urlhelper.rs
  • @KiChjang: components/net/fetch/methods.rs, components/net/http_loader.rs, components/script/dom/url.rs, components/net/websocket_loader.rs, components/script/dom/htmlformelement.rs, components/script/dom/urlhelper.rs, components/net_traits/hosts.rs, components/net_traits/hosts.rs
@nox
Copy link
Member Author

nox commented Mar 25, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Mar 25, 2017

Trying commit 8df5669 with merge cd6bc6f...

bors-servo added a commit that referenced this pull request Mar 25, 2017
Use NetworkConnector directly to account for replaced hosts
@bors-servo
Copy link
Contributor

bors-servo commented Mar 25, 2017

💔 Test failed - mac-rel-wpt1

@nox nox force-pushed the nox:tungstenite branch from 8df5669 to af19004 Mar 25, 2017
@nox
Copy link
Member Author

nox commented Mar 25, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Mar 25, 2017

Trying commit af19004 with merge 152d6ce...

bors-servo added a commit that referenced this pull request Mar 25, 2017
Use NetworkConnector directly to account for replaced hosts

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16131)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 25, 2017

💔 Test failed - linux-rel-wpt

@nox
Copy link
Member Author

nox commented Mar 26, 2017

The failure is #14323.

@nox nox removed the S-tests-failed label Mar 26, 2017
@nox
Copy link
Member Author

nox commented Mar 26, 2017

r? @jdm

@highfive highfive assigned jdm and unassigned glennw Mar 26, 2017
Copy link
Member

jdm left a comment

This is a good change. I only have one comment about the changes in 22e4c9c.

@@ -49,8 +49,8 @@ impl ServoUrl {

// NOTE: These methods return options that are always true temporarily until
// we special-case some urls to avoid going through rust-url.

This comment has been minimized.

@jdm

jdm Mar 26, 2017

Member

This comment should go away if we're making this change. I don't understand it though; any comments, @emilio?

This comment has been minimized.

@nox

nox Mar 26, 2017

Author Member

@jdm This was from a time where we thought ServoUrl wouldn't always contain an Url, will remove it.

nox added 5 commits Mar 25, 2017
This let us remove a hack where we had to replace the host in the request URL.
AFAIK, if there is no explicit port in the request URL, there should be
no explicit port in the Host header.
@nox nox force-pushed the nox:tungstenite branch from af19004 to 54103b7 Mar 26, 2017
@nox nox force-pushed the nox:tungstenite branch from 54103b7 to 8796a82 Mar 26, 2017
@nox
Copy link
Member Author

nox commented Mar 26, 2017

@jdm r=you?

@jdm
Copy link
Member

jdm commented Mar 26, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Mar 26, 2017

📌 Commit 8796a82 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Mar 26, 2017

Testing commit 8796a82 with merge 1154bf5...

bors-servo added a commit that referenced this pull request Mar 26, 2017
Use NetworkConnector directly to account for replaced hosts

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16131)
<!-- Reviewable:end -->
@nox nox dismissed jdm’s stale review Mar 26, 2017

Comment addressed.

@bors-servo
Copy link
Contributor

bors-servo commented Mar 26, 2017

💔 Test failed - linux-rel-css

@nox
Copy link
Member Author

nox commented Mar 26, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Mar 26, 2017

Testing commit 8796a82 with merge 1105100...

bors-servo added a commit that referenced this pull request Mar 26, 2017
Use NetworkConnector directly to account for replaced hosts

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16131)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 26, 2017

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev
Approved by: jdm
Pushing 1105100 to master...

@bors-servo bors-servo merged commit 8796a82 into servo:master Mar 26, 2017
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.