netty5/codec-http/src/test/java/io/netty/handler/codec
Norman Maurer cf8f6e3e2f [#5861] HttpUtil.getContentLength(HttpMessage, long) throws unexpected NumberFormatException
Motivation:

The Javadocs of HttpUtil.getContentLength(HttpMessage, long) and its int overload state that the provided default value is returned if the Content-Length value is not a number. NumberFormatException is thrown instead.

Modifications:

Correctly handle when the value is not a number.

Result:

API works as stated in javadocs.
2016-09-29 21:32:07 +02:00
..
http [#5861] HttpUtil.getContentLength(HttpMessage, long) throws unexpected NumberFormatException 2016-09-29 21:32:07 +02:00
rtsp Created RTSPEncoder and RTSPDecoder which are now common for both requests and responses to be able to handle both types of messages on the same channel. 2015-10-27 14:01:20 +01:00
spdy Deprecation cleanup for HTTP headers 2015-09-09 14:30:21 -07:00