You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "shin-mallang (via GitHub)" <gi...@apache.org> on 2023/09/09 13:11:56 UTC

[GitHub] [tomcat] shin-mallang opened a new pull request, #669: Relocate the useCompression check and apply parts back to back

shin-mallang opened a new pull request, #669:
URL: https://github.com/apache/tomcat/pull/669

   I think it can be confusing to read the code because there is a part that checks for HTTP compression, and a part that applies the filter.
   I've placed them back-to-back to improve readability.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[GitHub] [tomcat] shin-mallang commented on pull request #669: Relocate the useCompression check and apply parts back to back

Posted by "shin-mallang (via GitHub)" <gi...@apache.org>.
shin-mallang commented on PR #669:
URL: https://github.com/apache/tomcat/pull/669#issuecomment-1719742560

   @markt-asf 
   I apologize for not sending a PR with an explanation after carefully checking that the change in the code was safe.
   I apologize for the inconvenience.
   Thank you.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[GitHub] [tomcat] markt-asf merged pull request #669: Relocate the useCompression check and apply parts back to back

Posted by "markt-asf (via GitHub)" <gi...@apache.org>.
markt-asf merged PR #669:
URL: https://github.com/apache/tomcat/pull/669


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [GitHub] [tomcat] rmaucher commented on pull request #669: Relocate the useCompression check and apply parts back to back

Posted by Rémy Maucherat <re...@apache.org>.
On Sun, Sep 10, 2023 at 12:38 PM Mark Thomas <ma...@apache.org> wrote:
>
> On 10/09/2023 10:21, rmaucher (via GitHub) wrote:
> >
> > rmaucher commented on PR #669:
> > URL: https://github.com/apache/tomcat/pull/669#issuecomment-1712763013
> >
> >     The ordering of these is often important. Please don't try to change this for cosmetic reason since it needs time and expertise to review.
>
> Agreed re cosmetic changes.
>
> In this case, I think there might be merit in the change in terms of
> simplifying the code and making future maintenance easier.
>
> I've reviewed the patch and I can't see any reason not to make this
> change. Can anyone else see a reason not to do this?

After reviewing it, I can confirm this one will not cause problems
since there's no use of either of the two flags in the middle of this
change.

Rémy

> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [GitHub] [tomcat] rmaucher commented on pull request #669: Relocate the useCompression check and apply parts back to back

Posted by Mark Thomas <ma...@apache.org>.
On 10/09/2023 10:21, rmaucher (via GitHub) wrote:
> 
> rmaucher commented on PR #669:
> URL: https://github.com/apache/tomcat/pull/669#issuecomment-1712763013
> 
>     The ordering of these is often important. Please don't try to change this for cosmetic reason since it needs time and expertise to review.

Agreed re cosmetic changes.

In this case, I think there might be merit in the change in terms of 
simplifying the code and making future maintenance easier.

I've reviewed the patch and I can't see any reason not to make this 
change. Can anyone else see a reason not to do this?

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[GitHub] [tomcat] rmaucher commented on pull request #669: Relocate the useCompression check and apply parts back to back

Posted by "rmaucher (via GitHub)" <gi...@apache.org>.
rmaucher commented on PR #669:
URL: https://github.com/apache/tomcat/pull/669#issuecomment-1712763013

   The ordering of these is often important. Please don't try to change this for cosmetic reason since it needs time and expertise to review.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[GitHub] [tomcat] rmaucher closed pull request #669: Relocate the useCompression check and apply parts back to back

Posted by "rmaucher (via GitHub)" <gi...@apache.org>.
rmaucher closed pull request #669: Relocate the useCompression check and apply parts back to back
URL: https://github.com/apache/tomcat/pull/669


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[GitHub] [tomcat] markt-asf commented on pull request #669: Relocate the useCompression check and apply parts back to back

Posted by "markt-asf (via GitHub)" <gi...@apache.org>.
markt-asf commented on PR #669:
URL: https://github.com/apache/tomcat/pull/669#issuecomment-1719734655

   Re-opening. Discussion on the dev list confirmed that this change was safe.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org