How can I set the RequestHeaderSize for the built-in copy of Jetty?

13 views
Skip to first unread message

Andrew Ducker

unread,
Oct 6, 2016, 6:53:52 AM10/6/16
to Jenkins Users
If I use the Kerberos authentication of the plugin at https://wiki.jenkins-ci.org/display/JENKINS/Negotiate+SSO+for+Windows then it causes Jenkins to return a 413 (Request entity too large).

This is because the client sends a Kerberos ticket in the request headers, and that makes the size much larger.  (A quick google for "Kerberos 413" will find plenty of people encountering this)

The obvious answer is to increast the allowed Request Header Size, and Jetty allows this - but I can't work out where to put this setting to make the copy of Jetty that Jenkins includes use it.

Any suggestions?

I've raised an issue for the plugin here: https://issues.jenkins-ci.org/browse/JENKINS-38701 - but am hoping that there's a simple setting I can update.

Thanks,

Andy
Reply all
Reply to author
Forward
0 new messages