Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 999:74b9daf2826c
simplify Response
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 19 Oct 2016 00:59:46 -0600 |
parents | d9cfec64899c |
children | 39154cfa58e4 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AbstractHttpConnection.java Tue Oct 18 23:01:00 2016 -0600 +++ b/src/org/eclipse/jetty/server/AbstractHttpConnection.java Wed Oct 19 00:59:46 2016 -0600 @@ -115,7 +115,6 @@ private String _charset; private boolean _expect = false; private boolean _expect100Continue = false; - private boolean _expect102Processing = false; private boolean _head = false; private boolean _host = false; private boolean _delayedHandling = false; @@ -432,11 +431,6 @@ } } - public final boolean isExpecting102Processing() - { - return _expect102Processing; - } - public final int getMaxIdleTime() { if (_connector.server.isLowOnThreads() && _endp.getMaxIdleTime()==_connector.getMaxIdleTime()) @@ -463,7 +457,6 @@ _host = false; _expect = false; _expect100Continue = false; - _expect102Processing=false; _delayedHandling=false; _charset=null; @@ -535,10 +528,6 @@ _expect100Continue = true; break; - case HttpHeaderValues.PROCESSING_ORDINAL: - _expect102Processing = true; - break; - default: String[] values = value.toString().split(","); for (int i=0;values!=null && i<values.length;i++) @@ -553,9 +542,6 @@ case HttpHeaderValues.CONTINUE_ORDINAL: _expect100Continue = true; break; - case HttpHeaderValues.PROCESSING_ORDINAL: - _expect102Processing = true; - break; default: _expect = true; }