I added a comment here yesterday but somehow it disappeared...
I created https://issues.jboss.org/browse/ISPN-4160 to stop allowing chunkSize = 0.