Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIXED JENKINS-37031] tcpSlaveAgentListener should publish supported agent protocols to speed up connection setup #93

Merged
merged 2 commits into from
Aug 6, 2016

Conversation

stephenc
Copy link
Member

See JENKINS-37031 and jenkinsci/jenkins#2486

@reviewbybees @jenkinsci/code-reviewers

@ghost
Copy link

ghost commented Jul 28, 2016

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@oleg-nenashev
Copy link
Member

Should be safe for backporting.
The code looks good to me 🐝

@stephenc I would kindly ask to create PRs from a fork. Otherwise Jenkins automatic issue updater goes crazy

@oleg-nenashev
Copy link
Member

@reviewbybees done

if (names != null) {
for (String name: names.split(",")) {
name = name.trim();
if (!name.isEmpty()) {
Copy link
Member

Choose a reason for hiding this comment

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

Why not just StringUtils.isNotBlank()?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because StringUtils is not on the classpath in remoting.jar (which is supposed to be self-contained)

@oleg-nenashev
Copy link
Member

Finally there is a 🐛 from what I see.

@oleg-nenashev
Copy link
Member

Change in Jenkins core is unlikely a subject for backporting

@oleg-nenashev
Copy link
Member

🐝

@stephenc stephenc merged commit 802fb13 into master Aug 6, 2016
oleg-nenashev added a commit to oleg-nenashev/jenkins that referenced this pull request Aug 14, 2016
Changes are listed below:

Fixed issues:
* [JENKINS-22853](https://issues.jenkins-ci.org/browse/JENKINS-22853) -
Be robust against the delayed EOF command when unexporting input and output streams.
(jenkinsci/remoting#97)
* Fixed ~20 minor issues reported by FindBugs.
More fixes to be delivered in future versions.
(jenkinsci/remoting#96)

Enhancements:
* [JENKINS-37218](https://issues.jenkins-ci.org/browse/JENKINS-37218) -
Performance: <code>ClassFilter</code> does not use Regular Expressions anymore to match <code>String.startsWith</code> patterns.
(jenkinsci/remoting#92)
* [JENKINS-37031](https://issues.jenkins-ci.org/browse/JENKINS-37031)
<code>TcpSlaveAgentListener</code> now publishes a list of supported agent protocols to speed up connection setup.
(jenkinsci/remoting#93)
DanielWeber added a commit to DanielWeber/jenkins that referenced this pull request Aug 26, 2016
(Cherry Pick of 06be933)

Changes are listed below:

Fixed issues:
* [JENKINS-22853](https://issues.jenkins-ci.org/browse/JENKINS-22853) -
Be robust against the delayed EOF command when unexporting input and output streams.
(jenkinsci/remoting#97)
* Fixed ~20 minor issues reported by FindBugs.
More fixes to be delivered in future versions.
(jenkinsci/remoting#96)

Enhancements:
* [JENKINS-37218](https://issues.jenkins-ci.org/browse/JENKINS-37218) -
Performance: <code>ClassFilter</code> does not use Regular Expressions anymore to match <code>String.startsWith</code> patterns.
(jenkinsci/remoting#92)
* [JENKINS-37031](https://issues.jenkins-ci.org/browse/JENKINS-37031)
<code>TcpSlaveAgentListener</code> now publishes a list of supported agent protocols to speed up connection setup.
(jenkinsci/remoting#93)
@jeffret-b jeffret-b deleted the jenkins-37031 branch January 28, 2020 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants