Gregor,
There is a bug in NonBlockingConnection. when call setMaxReadBufferThreshold, the ioHandler will be suspended, and the read is never
resumed.
xsocket version is 2.8.14, xlightweb version is 2.13.2. And testing case is below:
in the same TestXSocket case,
Another problerm, if setMaxReadBufferThreshold(1024*64), then
the bytes available of onData's bodyDataSource will expand so fast (up to 30MB), inspite of the small threshold (64K).
PS, the download speed of the url "http://viewer.tj.cnki.net/CAJViewer%207.0.2.self.exe"
is about 2MB/s. Is there something wrong with xlightweb in the case of high speed download?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
in the same TestXSocket case,
Another problerm, if setMaxReadBufferThreshold(1024*64), then
the bytes available of onData's bodyDataSource will expand so fast (up to 30MB), inspite of the small threshold (64K).
PS, the download speed of the url "http://viewer.tj.cnki.net/CAJViewer%207.0.2.self.exe"
is about 2MB/s. Is there something wrong with xlightweb in the case of high speed download?