Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
10.10.1.1
-
None
Description
When size of reply in NetworkServerControlImpl equals to 32k (max size for short) ensureDataInBuffer is in infinite loop. clientIs.read(..., replyBuffer.length - replyBufferCount) return 0 because 'replyBuffer.length - replyBufferCount' is 0 (bytes to read).
Steps to reproduce:
Open many connections (for me 34) with at least 1 SELECT query. and call getRuntimeInfo(). Runtime info string.length > 32kB. Leading to infinite loop.
Attachments
Attachments
Issue Links
- relates to
-
DERBY-5220 Output from org.apache.derby.drda.NetworkServerControl runtimeinfo are truncated if the amount of data exceeds some threshold
- Open
-
DERBY-6455 Infinite loop in NetworkServerControlImpl.ensureDataInBuffer
- Closed
-
DERBY-5236 Client driver silently truncates strings that exceed 32KB
- Closed