Skip to content

Server information should be cleared when following redirect - #1978

Merged
vmamidi merged 1 commit into
apache:masterfrom
vmamidi:clear_server_info_in_redirect
May 27, 2017
Merged

Server information should be cleared when following redirect#1978
vmamidi merged 1 commit into
apache:masterfrom
vmamidi:clear_server_info_in_redirect

Conversation

@vmamidi

@vmamidi vmamidi commented May 25, 2017

Copy link
Copy Markdown
Contributor

Prior to #1756, clearing the server information was not required while following a redirect as DNS was always done under all circumstances. Now, ATS does DNS only it is required so, server information should be cleared while following the redirect.

@vmamidi vmamidi added Backport Marked for backport for an LTS patch release HTTP labels May 25, 2017
@vmamidi vmamidi added this to the 7.1.0 milestone May 25, 2017
@vmamidi vmamidi self-assigned this May 25, 2017
@vmamidi
vmamidi requested a review from zwoop May 25, 2017 19:09
zwoop
zwoop previously approved these changes May 25, 2017

@zwoop zwoop left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeh, looks good.

@zwoop

zwoop commented May 25, 2017

Copy link
Copy Markdown
Contributor

@AMC points out that this probably want to use ink_zero().

zwoop
zwoop previously approved these changes May 26, 2017

@zwoop zwoop left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@vmamidi
vmamidi force-pushed the clear_server_info_in_redirect branch from 872f47a to db15f82 Compare May 26, 2017 22:54

@zwoop zwoop left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@vmamidi
vmamidi merged commit e01f7ff into apache:master May 27, 2017
@vmamidi
vmamidi deleted the clear_server_info_in_redirect branch May 27, 2017 03:35
@zwoop

zwoop commented May 29, 2017

Copy link
Copy Markdown
Contributor

I think @jrushford and @PSUdaemon wants this for 6.2.x as well, since they took the original change already?

@zwoop

zwoop commented May 29, 2017

Copy link
Copy Markdown
Contributor

@vmamidi because of coverity cleanup, this also doesn't apply cleanly to 7.1.x. It's a simple fix, but to follow the rule book, can you please make a separate PR for the 7.1.x branch, with this fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport Marked for backport for an LTS patch release HTTP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants