simpleframework
simpleframework copied to clipboard
Simple Framework SSL Bug Fixes
- Bumped version to 6.0.2
- Bumped Java Source and Target version from 1.5 to 1.6
- FileBuffer.java: convert has potential bug; simplified read() method
- Handshake.java: improved receive() method 5: SecureTransport.java: Fixed Bugs 5.1: receive() method where unwrap is only called when swap buffer has data. Should call unwarp() until SSLEngine has consumed and produced all bytes it could. Noticed Bug when uploading huge files ( > 1 MB ) 5.2: send() method could potentially have same issue when wrapping. 5.3: write() method improvements due changes in send() method 6: TransportReader: Fixed a potential bug where count is directly adjusted without checking read result