netty5/codec-http
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
..
src [#5861] HttpUtil.getContentLength(HttpMessage, long) throws unexpected NumberFormatException 2016-09-29 21:32:07 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2016-08-26 10:06:32 +02:00