[GitHub] tomcat issue #137: Add HTML lang="en"

2019-01-29 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/137 > Anyway, those package.html files are just fragments consumed by javadoc tool. I suspect that changing the attributes of the HTML element does not have any effect on generated Java

[GitHub] tomcat issue #137: Add HTML lang="en"

2019-01-28 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/137 I'm all in favour of improving accessibility. The changes to package.html and similar look good. The changes to anything under test/ need to be reverted. Those are test artefacts

[GitHub] tomcat issue #135: fix bug 63050: NumberFormatException depending on languag...

2019-01-04 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/135 This has been fixed via [POEditor](https://poeditor.com/projects/view?id=221603) and will be included in 9.0.15 onwards

[GitHub] tomcat pull request #135: fix bug 63050: NumberFormatException depending on ...

2019-01-04 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/135 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #134: Display generate date when showing every message in Html ...

2018-11-20 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/134 I tried adding a Last-Modified HTTP header but that didn't help. The history approach looks to be the best solution at this point

[GitHub] tomcat issue #134: Display generate date when showing every message in Html ...

2018-11-20 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/134 The browser history will give you what you need (to the minute anyway) in both Chrome Firefox and IE. This is a generic solution that works for any web page for any service - not just one page

[GitHub] tomcat issue #134: Display generate date when showing every message in Html ...

2018-11-19 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/134 How easy it is to get hold of the last modified date does vary by browser but - given that Tomcat already provides this in the headers - I don't see much benefit here. And micheal-o's comment

[GitHub] tomcat pull request #132: Fix cygpath error by adding cond check with JAVA_E...

2018-11-12 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/132 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #132: Fix cygpath error by adding cond check with JAVA_ENDORSED...

2018-11-12 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/132 Fixed in: - trunk for 9.0.14 onwards - 8.5.x for 8.5.36 onwards - 7.0.x for 7.0.93 onwards Thanks for the report and for the patch

[GitHub] tomcat issue #131: qqq

2018-11-05 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/131 Spam. Reported to GitHub's abuse team. --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands

[GitHub] tomcat pull request #131: qqq

2018-11-05 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/131 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #130: Add two spaces (nbsp) in front of the Undeploy button

2018-11-01 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/130 I can see what you are trying to do but I'm not sure the change creates enough of a visual separation to make much of a difference. I don't think it will do much to reduce the risk

[GitHub] tomcat issue #125: Provide port offset functionality (BZ-61171)

2018-11-01 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/125 Patch has been applied with a few changes: - portOffset was not cached on the Connector (to align with recent changes to how port is handled) - handle special case port values where

[GitHub] tomcat pull request #129: Fix typo in Spanish translation

2018-10-31 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/129 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #129: Fix typo in Spanish translation

2018-10-31 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/129 Thanks. Patch applied to 9.0.x, 8.5.x and 7.0.x for the next release of each. --- - To unsubscribe, e-mail: dev-unsubscr

[GitHub] tomcat issue #125: Provide port offset functionality (BZ-61171)

2018-10-29 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/125 I've now spent some time looking at this more closely. I like the idea of setting this once on the `Server` and then auto-magically setting this on the `Connector`s. As I reviewed

[GitHub] tomcat pull request #123: Checking the signing service response

2018-10-21 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/123 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #123: Checking the signing service response

2018-10-21 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/123 Thanks for reviewing this code and providing a patch. Unfortunately, we plan to shortly move away from our custom signing service and switch to the solution provided by DigiCert that integrates

[GitHub] tomcat issue #127: Add a fake attribute for source

2018-10-21 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/127 Nice idea. I've applied a variation of this patch to Tomcat. The key changes were: - Only ignore source on Context elements - Ignore source on Context elements in server.xml and context.xml

[GitHub] tomcat pull request #126: The feature of the transfer rate control are added...

2018-10-12 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/126 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #126: The feature of the transfer rate control are added to the...

2018-10-12 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/126 -1 here too for much the same reason. A filter would work better for this. Ignoring the thread related concerns, I'd also point out that new features without a description of the use case

[GitHub] tomcat issue #125: Provide port offset functionality (BZ-61171)

2018-10-10 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/125 I've skimmed this and it looks good. I'm currently buried in TLS 1.3 stuff but wanted to let you know that the PR had been seen and that I hope to get it into the next 9.0.x release

[GitHub] tomcat issue #124: Allow empty 'Host' HTTP header

2018-10-05 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/124 Nice catch with handling the port. The patch I had come up with missed that. I refactored populateHost() as it bugged me to set the server name one way (that might throw an IOE and break

[GitHub] tomcat issue #122: Added a default value for ApplicationSessionCookieConfig#...

2018-09-17 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/122 There is nothing in the spec that says Tomcat is required to do that. --- - To unsubscribe, e-mail: dev-unsubscr

[GitHub] tomcat pull request #122: Added a default value for ApplicationSessionCookie...

2018-09-17 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/122 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #122: Added a default value for ApplicationSessionCookieConfig#...

2018-09-17 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/122 Closing the PR as the requested change is not correct. --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

[GitHub] tomcat pull request #120: fix -Djava.security.policy setting

2018-09-04 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/120 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #120: fix -Djava.security.policy setting

2018-09-04 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/120 The double = is deliberate. The OP needs to RTFM. --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

[GitHub] tomcat issue #117: Enhance the CATALINA_BASE documentation

2018-08-24 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/117 Looks great. Applied. Many thanks. (note: there was one s/HOME/BASE/ required in the webapps section) --- - To unsubscribe

[GitHub] tomcat pull request #117: Enhance the CATALINA_BASE documentation

2018-08-13 Thread markt-asf
Github user markt-asf commented on a diff in the pull request: https://github.com/apache/tomcat/pull/117#discussion_r20982 --- Diff: webapps/docs/introduction.xml --- @@ -89,6 +80,122 @@ same as $CATALINA_HOME. + + Throughout the documentation

[GitHub] tomcat pull request #117: Enhance the CATALINA_BASE documentation

2018-08-10 Thread markt-asf
Github user markt-asf commented on a diff in the pull request: https://github.com/apache/tomcat/pull/117#discussion_r209308073 --- Diff: webapps/docs/introduction.xml --- @@ -89,6 +80,122 @@ same as $CATALINA_HOME. + + Throughout the documentation

[GitHub] tomcat pull request #117: Enhance the CATALINA_BASE documentation

2018-08-10 Thread markt-asf
Github user markt-asf commented on a diff in the pull request: https://github.com/apache/tomcat/pull/117#discussion_r209306777 --- Diff: webapps/docs/introduction.xml --- @@ -89,6 +80,122 @@ same as $CATALINA_HOME. + + Throughout the documentation

[GitHub] tomcat pull request #118: Fix typos detected by github.com/client9/misspell

2018-08-10 Thread markt-asf
Github user markt-asf commented on a diff in the pull request: https://github.com/apache/tomcat/pull/118#discussion_r209292288 --- Diff: java/org/apache/catalina/ha/session/SessionMessageImpl.java --- @@ -144,7 +144,7 @@ public String getEventTypeString() case

[GitHub] tomcat pull request #118: Fix typos detected by github.com/client9/misspell

2018-08-10 Thread markt-asf
Github user markt-asf commented on a diff in the pull request: https://github.com/apache/tomcat/pull/118#discussion_r209290720 --- Diff: java/org/apache/tomcat/dbcp/dbcp2/managed/ManagedConnection.java --- @@ -1,4 +1,4 @@ -/** +vi /** --- End diff

[GitHub] tomcat issue #118: Fix typos detected by github.com/client9/misspell

2018-08-10 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/118 Thanks for this. Working through a review of the patch now. Note that there are some files that we can't change such as the Oracle provided XSDs

[GitHub] tomcat pull request #115: Setting Timezone to GMT for Expires Header as per ...

2018-06-20 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/115 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #115: Setting Timezone to GMT for Expires Header as per RFC1123

2018-06-20 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/115 Thanks for the PR. We have fixed this but with a simpler approach that makes use of `ConcurrentDateFormat.formatRfc1123

[GitHub] tomcat issue #77: Removed findbugs bad practice warnings by making classes f...

2018-06-04 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/77 These have been resolved since this PR was opened. --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

[GitHub] tomcat pull request #77: Removed findbugs bad practice warnings by making cl...

2018-06-04 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/77 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #49: Fix parser to fail if leading zeros in IPv4 part of IPv6 a...

2018-06-04 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/49 Thanks for the patch. Sorry it took a while to apply it. Due to our delays I had to adapt things a little. Fixed in: - trunk for 9.0.9 onwards - 8.5.x for 8.5.32 onwards - 8.0.x

[GitHub] tomcat pull request #49: Fix parser to fail if leading zeros in IPv4 part of...

2018-06-04 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/49 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #111: Add ipv6 loopback address to the RemoteIpFilter and Remot...

2018-05-21 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/111 The docs (`config/valve.xml` and `config/filter.xml`) need to be updated with the new defaults as well. --- - To unsubscribe

[GitHub] tomcat issue #108: Improve undeployment in parallel deployment scenario

2018-05-11 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/108 I agree this should configurable on the Host. It should be possible to remove the Comparator entirely if the version code is used directly in the Mapper. I'd like this to be more robust

[GitHub] tomcat issue #109: fix: file resource read dir inputStream

2018-05-08 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/109 I came very close to fixing this but in the end I opted not to. I covered the argument for making this change in my previous comment. The reasons against it are: - it would

[GitHub] tomcat pull request #109: fix: file resource read dir inputStream

2018-05-08 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/109 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #109: fix: file resource read dir inputStream

2018-05-08 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/109 The specification is not as explicit as it could be in this case. The spec text refers to the Javadoc. The Javadoc says "Returns the resource located at the named path as an InputStream o

[GitHub] tomcat issue #109: fix: file resource read dir inputStream

2018-05-07 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/109 I'm not convinced the proposed approach is the right one in this case. --- - To unsubscribe, e-mail: dev-unsubscr

[GitHub] tomcat issue #108: Improve undeployment in parallel deployment scenario

2018-04-25 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/108 I think there is a lot of merit in Chris's idea. The concept of some sort of internal pre-computed version string that addresses ordering concerns by zero padding numerical components is one

[GitHub] tomcat issue #108: Improve undeployment in parallel deployment scenario

2018-04-25 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/108 I have applied the optimisation commit (thanks) but not the ordering changes. The patch changes the order for undeploy without changing the order for version mapping. This will lead

[GitHub] tomcat issue #105: Iamtjw patch 1

2018-04-06 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/105 This needs some discussion on the dev@ list. --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional

[GitHub] tomcat pull request #102: Fix Possible infinite loop in AprEndpoint.Poller#r...

2018-03-05 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/102 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat pull request #101: Fix compressibleMimeType handling for compression=...

2018-02-27 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/101 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #101: Fix compressibleMimeType handling for compression="on"

2018-02-27 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/101 Thanks for the report and the patch. Fixed for trunk and 8.5.x. --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

[GitHub] tomcat pull request #97: Bz48672

2018-02-07 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/97 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #97: Bz48672

2018-02-07 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/97 All updated. --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h

[GitHub] tomcat issue #97: Bz48672

2018-02-07 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/97 Thanks looks great. I'll add it shortly. I'll apply to all versions and then tweak the various version specific parts so they reflect the current version

[GitHub] tomcat issue #96: Remove PUT and DELETE methods from an OPTIONS request if r...

2018-01-09 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/96 I've fixed this in trunk. Given the behaviour changes (you can bet someone depends on a 403 rather than a 405 response) I'm not going to back-port it. The way I ended up tackling this (WebDAV

[GitHub] tomcat issue #96: Remove PUT and DELETE methods from an OPTIONS request if r...

2018-01-08 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/96 No argument with Konstantin's points here. I started to look at implementing this and I realised that the WebDAV is inconsistent with how the allow header is generated. A method may not be included

[GitHub] tomcat issue #96: Remove PUT and DELETE methods from an OPTIONS request if r...

2018-01-08 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/96 Lack of response == lazy consensus. I plan to look at applying these patches (or possibly a variation of them) before tagging 9.0.x

[GitHub] tomcat issue #96: Remove PUT and DELETE methods from an OPTIONS request if r...

2018-01-02 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/96 Getting back to whether readOnly should affect POST, my own view is that it should not. readOnly refers to whether the default Servlet can change static content. For static content request

[GitHub] tomcat issue #96: Remove PUT and DELETE methods from an OPTIONS request if r...

2018-01-02 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/96 I wanted to clear something up. It is not a case of me being willing to change something or not. I don't get to decide these things on my own. It is a community decision. Normally, we discuss

[GitHub] tomcat issue #96: Remove PUT and DELETE methods from an OPTIONS request if r...

2017-12-14 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/96 The inconsistency stems from the different status codes used. If TRACE is disabled at the connector, level then a 405 is returned for TRACE requests. If readOnly is set in the DefaultServlet, a 403

[GitHub] tomcat issue #96: Remove PUT and DELETE methods from an OPTIONS request if r...

2017-12-13 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/96 The current OPTIONS behaviour is intentional. OPTIONS lists the valid methods, not the permitted methods, for a resource. The GET/POST issue is before my time with the project

[GitHub] tomcat pull request #95: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=...

2017-12-05 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/95 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #95: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61223

2017-12-05 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/95 Thanks for the patch. There wasn't anything wrong with it but the more I thought about it, the more I thought that referencing the DTD directly was a better solution

[GitHub] tomcat issue #95: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61223

2017-12-05 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/95 This is a partial fix. It only addresses the attributes of the mbean element. I'm wondering if, rather than duplicate the comments in the DTD file, if it would be simpler to copy the DTD

[GitHub] tomcat pull request #87: Fix NPE on removeRegistration in case getConfigProv...

2017-11-20 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/87 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #87: Fix NPE on removeRegistration in case getConfigProvider is...

2017-11-20 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/87 Applied in r1815802 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h

[GitHub] tomcat issue #85: Fix NPE in AuthConfigFactoryImpl.detachListener()

2017-11-20 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/85 Note there is a minor typo in the test method name. I'll fix that when I apply the patch. --- - To unsubscribe, e-mail: dev

[GitHub] tomcat pull request #73: Bug 57767 - Websocket client proprietary configurat...

2017-11-16 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/73 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #76: added SessionInitializerFilter

2017-11-09 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/76 Looking at this is on my TODO list to look at before the next release --- - To unsubscribe, e-mail: dev-unsubscr

[GitHub] tomcat issue #84: Add tomcat in the cloud abstract implementation

2017-11-08 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/84 This needs a wider discussion on the dev list first. However I do have some initial high level comments: - The choice of package is unexpected - Headers need to be standard ASF

[GitHub] tomcat issue #83: Bug 61668 - Possible NullPointerException in AbstractHttp1...

2017-11-08 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/83 Thanks for the proposed patch. I opted for a more general solution in StringUtils since fixing that problem there should - in theory - prevent it appearing anywhere else StringUtils is used

[GitHub] tomcat pull request #83: Bug 61668 - Possible NullPointerException in Abstra...

2017-11-08 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/83 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat pull request #82: Add maven-install target

2017-11-03 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/82 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #83: Bug 61668 - Possible NullPointerException in AbstractHttp1...

2017-11-03 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/83 The duplicated code is a sign that this could be handled elsewhere with less code (i.e. in StringUtils) --- - To unsubscribe, e

[GitHub] tomcat issue #79: remove placeholders from introduction doc

2017-10-19 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/79 We could pull the entries and add "That's it!" after the list. --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.

[GitHub] tomcat issue #79: remove placeholders from introduction doc

2017-10-19 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/79 Those aren't placeholders. It is intentional content. I believe they are meant to be a lighthearted way of indicating that 'Context' is the only term that needs introducing

[GitHub] tomcat issue #73: Bug 57767 - Websocket client proprietary configuration

2017-10-13 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/73 No objections to back-porting here. --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e

[GitHub] tomcat issue #78: added findbugs false positive

2017-10-13 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/78 Thanks. Patch applied to trunk and back-ported to 8.5.x, 8.0.x and 7.0.x. --- - To unsubscribe, e-mail: dev-unsubscr

[GitHub] tomcat pull request #78: added findbugs false positive

2017-10-13 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/78 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #77: Removed findbugs bad practice warnings by making classes f...

2017-10-13 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/77 Making those classes final will cause problems if users have extended any of them. While that seems unlikely, experience suggests it has probably been done somewhere. Is there any reason

[GitHub] tomcat issue #76: added SessionInitializerFilter

2017-10-13 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/76 I did wonder if this would be better as configuration on WsFilter but on reflection a separate Filter looks to be simpler for users to configure. The patch needs documentation (webapps/docs

[GitHub] tomcat issue #73: Bug 57767 - Websocket client proprietary configuration

2017-10-13 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/73 Chris's original concern with the BZ 57767 patch (lack of Javadoc) still needs to be addressed. --- - To unsubscribe, e-mail

[GitHub] tomcat issue #63: added portOffset attribute to server.xml per BZ-61171

2017-10-13 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/63 I've added some comments to the bugzilla issue on how this might be addressed. --- - To unsubscribe, e-mail: dev-unsubscr

[GitHub] tomcat issue #74: added javadoc comment

2017-10-04 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/74 I think I've pulled the obvious wins into Tomcat. Take a look and if you think there is merit in further changes please feel free to open another pull request

[GitHub] tomcat pull request #74: added javadoc comment

2017-10-04 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/74 --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[GitHub] tomcat issue #74: added javadoc comment

2017-10-04 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/74 There is definitely some value here although we might not choose to skip some parts of the patch. Let me pull in the obvious stuff and then we can see what is left

[GitHub] tomcat issue #74: added javadoc comment

2017-10-02 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/74 Generally, I'm in favour of refactoring that reduces the overall volume of code. --- - To unsubscribe, e-mail: dev-unsubscr

[GitHub] tomcat issue #75: added javadoc comments and a method that takes default val...

2017-10-02 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/75 -1 The public API of specification defined classes may not be changed. This method would be worth adding to o.a.catalina.filters.FilterBase if any of Tomcat's internal filter implementations

[GitHub] tomcat issue #72: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=59901

2017-08-09 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/72 My point is that with the o.a.c.webresources.Cache in place, this solution offers little additional benefit. I'm not suggesting creating dependencies from Jasper to Catalina. On closer

[GitHub] tomcat issue #72: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=59901

2017-08-07 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/72 Tomcat provides (by default) a static content cache in the resources layer so I do wonder if there is much benefit in caching the content in the JSP engine as well. The proposed cache appears

[GitHub] tomcat issue #70: Add new accesslog valve pattern %X for recording connectio...

2017-07-28 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/70 Patch applied. Many thanks. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled

[GitHub] tomcat pull request #70: Add new accesslog valve pattern %X for recording co...

2017-07-28 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/70 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] tomcat pull request #70: Add new accesslog valve pattern %X for recording co...

2017-07-24 Thread markt-asf
Github user markt-asf commented on a diff in the pull request: https://github.com/apache/tomcat/pull/70#discussion_r129111529 --- Diff: java/org/apache/catalina/valves/AbstractAccessLogValve.java --- @@ -1506,6 +1508,38 @@ public void addElement(CharArrayWriter buf, Date date

[GitHub] tomcat pull request #5: Add maxStartTime to RequestInfo & RequestGroupInfo.

2017-07-11 Thread markt-asf
Github user markt-asf closed the pull request at: https://github.com/apache/tomcat/pull/5 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] tomcat issue #5: Add maxStartTime to RequestInfo & RequestGroupInfo.

2017-07-11 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/5 As requested. Note: normally projects can't close PRs like this but I can because of my infra role. --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] tomcat issue #68: Fix #61224 - Make the GlobalRequestProcessor mbeans read-o...

2017-06-26 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/68 Tomcat fails to compile after applying this patch. Looking in to this, I don't see any reason for BaseModelMBean to throw exceptions in its constructor. As far as I can tell

[GitHub] tomcat issue #65: Fix bug #61214 : NoSuchMethodException in JMX Proxy (Conte...

2017-06-26 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/65 My favourite kind of patch. It fixes a problem by deleting stuff. :) --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project

[GitHub] tomcat issue #59: add some useful note

2017-06-18 Thread markt-asf
Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/59 Most added comments add no value. The s/poller/pollers/ change is the only one worth considering and that is a trivial change. The patch uses a mix of tabs and spaces for indents. --- If your

  1   2   >