Mercurial Hosting > luan
comparison src/org/eclipse/jetty/http/HttpParser.java @ 1002:35d04ac3fd0b
simplify ssl
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 22 Oct 2016 21:56:44 -0600 |
parents | 39154cfa58e4 |
children | 0e96ce3db20a |
comparison
equal
deleted
inserted
replaced
1001:39154cfa58e4 | 1002:35d04ac3fd0b |
---|---|
948 { | 948 { |
949 LOG.warn("HttpParser Full for {} ",_endp); | 949 LOG.warn("HttpParser Full for {} ",_endp); |
950 _buffer.clear(); | 950 _buffer.clear(); |
951 throw new HttpException(HttpStatus.REQUEST_ENTITY_TOO_LARGE_413, "Request Entity Too Large: "+(_buffer==_body?"body":"head")); | 951 throw new HttpException(HttpStatus.REQUEST_ENTITY_TOO_LARGE_413, "Request Entity Too Large: "+(_buffer==_body?"body":"head")); |
952 } | 952 } |
953 | 953 /* why? |
954 try | 954 try |
955 { | 955 { |
956 int filled = _endp.fill(_buffer); | 956 int filled = _endp.fill(_buffer); |
957 return filled; | 957 return filled; |
958 } | 958 } |
959 catch(IOException e) | 959 catch(IOException e) |
960 { | 960 { |
961 LOG.debug("",e); | 961 LOG.debug("",e); |
962 throw (e instanceof EofException) ? e:new EofException(e); | 962 throw (e instanceof EofException) ? e:new EofException(e); |
963 } | 963 } |
964 */ | |
965 return _endp.fill(_buffer); | |
964 } | 966 } |
965 | 967 |
966 public void reset() | 968 public void reset() |
967 { | 969 { |
968 // reset state | 970 // reset state |