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

[JENKINS-23378] Jetty9 upgrade #22

Merged
merged 3 commits into from
Feb 21, 2016
Merged

[JENKINS-23378] Jetty9 upgrade #22

merged 3 commits into from
Feb 21, 2016

Conversation

kohsuke
Copy link
Member

@kohsuke kohsuke commented Feb 19, 2016

As a part of upgrading Jenkins to servlet 3.1, we need Winstone to support servlet 3.1, which this PR does by pulling in Jetty 9.2, which is the latest version of Jetty that runs on Java7.

Notable incompatibilities include:

  • Lack of AJP support (link)
  • requestBufferSize setting in Jetty8 appears to have no counterpart

This PR is to let others comment on the changes thus far, find those missing features from somewhere, and try it out on Jenkins. Once we decide to drop those functionalities, we need a follow-up change to clean up the help screen, really remove AJP related code, etc.

bumped up the dependency to the latest Jetty9 and updated the rest of
the code to catch up with the incompatible changes made between Jetty 8
to 9.
Jetty9 requiers Java7 whereas it used to be Java6, and AJP doesn't work.
Given those changes, I think it warrants a major version number
increment.
<artifactId>spdy-jetty-http</artifactId>
<version>8.1.13.v20130916</version>
<artifactId>spdy-http-server</artifactId>
<version>9.2.15.v20160210</version>
Copy link
Member

Choose a reason for hiding this comment

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

Introduce a property for these so you need not repeat yourself.

@jglick
Copy link
Member

jglick commented Feb 19, 2016

👍

@jenkinsadmin
Copy link
Member

Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests.

@kohsuke
Copy link
Member Author

kohsuke commented Feb 20, 2016

I took a quick look at jetty-ajp code. While the code is relatively small, the relevant abstractions have so drastically changed in Jetty 9 that the porting is not practical unless one knows the architecture of Jetty deeply.

So AJP support is not coming back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants