Fixed bugs 809292 and 764197: when db server is closed while jtds is reading a packet cpu ramps to 99% Fix is to check for -1 when calling DataInputStream.read()
Fixed bugs 809292 and 764197: when db server is closed while jtds is reading a packet cpu ramps to 99%
Fix is to check for -1 when calling DataInputStream.read()


git-svn-id: 344b71073909399dbfbb72461917dbf939dfdc0a@134 97a8069c-bbaa-4fa2-9e49-561d8e0b19ef

kassak/jtds,cemcatik/jtds,kassak/jtds,kassak/jtds,cemcatik/jtds,cemcatik/jtds,cemcatik/jtds,kassak/jtds