[jcifs] jcifs-1.3.17 released / SO_TIMEOUT Fixed, Connect Timeout Control Added

Michael B Allen ioplex at gmail.com
Tue Oct 18 13:32:16 MDT 2011


The jcifs.smb.client.soTimeout property, which controls how long the
client will wait to read data from a server, was broken in the
previous release (1.3.16). Not only was it broken but no SO_TIMEOUT
was specified at all meaning if a server became unresponsive, JCIFS
could hang for an uncontrollably long time. This behavior of this
property has been restored.

Additionally, a new jcifs.smb.client.connTimeout has been added which
specifies the number of milliseconds that the client will wait to
connect to a server (how long it will wait for a response to the TCP
SYN). This can be very useful when trying to communicate with many
servers in parallel.


More information about the jCIFS mailing list