netty5/codec-http/src
Emily Littleworth 0f8685ae9b Return null in HttpPostRequestEncoder (#9352)
Motivation:

If the encoded value of a form element happens to exactly hit
the chunk limit (8096 bytes), the post request encoder will
throw a NullPointerException.

Modifications:

Catch the null case and return.

Result:

No NPE.
2019-07-16 13:30:07 +02:00
..
main Return null in HttpPostRequestEncoder (#9352) 2019-07-16 13:30:07 +02:00
test Return null in HttpPostRequestEncoder (#9352) 2019-07-16 13:30:07 +02:00