git clone of logicmail with some fixes/features added
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix for InputStream.available() returning zero when more data needs to be read to form a complete line

git-svn-id: https://logicmail.svn.sourceforge.net/svnroot/logicmail/trunk@685 5c734088-3d25-0410-9155-b3c3832efda5

octorian 881053e2 26992c74

+10
+10
LogicMail/src/org/logicprobe/LogicMail/util/Connection.java
··· 409 409 } 410 410 411 411 bytesAvailable = input.available(); 412 + 413 + // If no bytes are reported as being available, but we have 414 + // not yet received a full line, then we need to attempt 415 + // another single-byte blocking read. 416 + if(bytesAvailable == 0) { 417 + firstByte = input.read(); 418 + byteStream.write((byte)firstByte); 419 + bytesReceived++; 420 + bytesAvailable = input.available(); 421 + } 412 422 } 413 423 } 414 424 else {