diff src/org/eclipse/jetty/server/Request.java @ 887:df84a1741687

make Connector reference to server explicit
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 04 Oct 2016 23:59:56 -0600
parents 3dcc52e17535
children 39c12b2306a2
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/Request.java	Tue Oct 04 20:27:50 2016 -0600
+++ b/src/org/eclipse/jetty/server/Request.java	Tue Oct 04 23:59:56 2016 -0600
@@ -271,7 +271,7 @@
 							
 							if (maxFormContentSize < 0)
 							{
-								Object obj = _connection.getConnector().getServer().getAttribute("org.eclipse.jetty.server.Request.maxFormContentSize");
+								Object obj = _connection.getConnector().server.getAttribute("org.eclipse.jetty.server.Request.maxFormContentSize");
 								if (obj == null)
 									maxFormContentSize = 200000;
 								else if (obj instanceof Number)
@@ -287,7 +287,7 @@
 							
 							if (maxFormKeys < 0)
 							{
-								Object obj = _connection.getConnector().getServer().getAttribute("org.eclipse.jetty.server.Request.maxFormKeys");
+								Object obj = _connection.getConnector().server.getAttribute("org.eclipse.jetty.server.Request.maxFormKeys");
 								if (obj == null)
 									maxFormKeys = 1000;
 								else if (obj instanceof Number)