Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpKernel] Move duplicated logic from Esi/Ssi to an AbstractSurrogate#18833

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:masterfromchalasr:patch_abstract_surrogate
Jun 15, 2016

Conversation

@chalasr
Copy link
Member

@chalasrchalasr commentedMay 21, 2016
edited
Loading

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsn/a
LicenseMIT
Doc PRn/a

This moves the not-specific logic from the Esi/Ssi classes into an abstract class that they extend.
This class (AbstractSurrogate) can be extended by any class implementing a Surrogate-Capability to the Request+Response instances, as Esi/Ssi do for ESI/SSI capabilities.

@chalasrchalasrforce-pushed thepatch_abstract_surrogate branch 2 times, most recently from6b3835c tofb6860cCompareMay 22, 2016 00:08
@chalasrchalasr changed the titleMove duplicated logic from Esi/Ssi to an AbstractSurrogate[HttpKernel] Move duplicated logic from Esi/Ssi to an AbstractSurrogateMay 22, 2016
@chalasrchalasrforce-pushed thepatch_abstract_surrogate branch 4 times, most recently from1e8040d tocd802cfCompareMay 22, 2016 11:56
@chalasrchalasrforce-pushed thepatch_abstract_surrogate branch fromcd802cf toe24b1bdCompareMay 23, 2016 11:38
throw$e;
}
}
// remove SSI/1.0 from the Surrogate-Control header
Copy link
Member

Choose a reason for hiding this comment

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

Comment looks wrong.

Fabbot fixesMove duplicated logic from Esi/Ssi::process in AbstractSurrogate::removeFromControlFabbot fixesFix comment
@chalasrchalasrforce-pushed thepatch_abstract_surrogate branch frome24b1bd toc5dc50dCompareJune 15, 2016 10:40
@fabpot
Copy link
Member

Thank you@chalasr.

@fabpotfabpot merged commitc5dc50d intosymfony:masterJun 15, 2016
fabpot added a commit that referenced this pull requestJun 15, 2016
…AbstractSurrogate (chalasr)This PR was merged into the 3.2-dev branch.Discussion----------[HttpKernel] Move duplicated logic from Esi/Ssi to an AbstractSurrogate| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations?| no| Tests pass?   | yes| Fixed tickets | n/a| License       | MIT| Doc PR        | n/aCommits-------c5dc50d Move duplicated logic from Esi/Ssi to an AbstractSurrogate
@chalasrchalasr deleted the patch_abstract_surrogate branchJune 15, 2016 10:45
* @author Fabien Potencier <fabien@symfony.com>
* @author Robin Chalas <robin.chalas@gmail.com>
*/
abstract class AbstractSurrogate implements SurrogateInterface
Copy link
Contributor

@TobionTobionJun 15, 2016
edited
Loading

Choose a reason for hiding this comment

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

this should be either marked as@internal or the PR is a new feature in contrast to the PR header (which means a use-case should be given).

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

@Tobion I marked it as a new feature in the header (as made in the merge commit) & added a description.

@fabpotfabpot mentioned this pull requestOct 27, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@chalasr@fabpot@Tobion@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp