Github user sebbASF commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/216#discussion_r71193100
--- Diff:
src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java ---
@@ -147,6 +148,8 @@
private static final int TIME_TO_LIVE =
JMeterUtils.getPropDefault("httpclient4.time_to_live", 2000);
private static final String CONTEXT_METRICS = "jmeter_metrics"; //
TODO hack for metrics related to HTTPCLIENT-1081, to be removed later
+
+ private static final Pattern PORT_PATTERN = Pattern.compile("^\\d+$");
--- End diff --
Does not need anchors
---
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 is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---