Fixed bugs:
- when an error occured during posting, the socket
would not disconnect. If the error was related to the
connection, and a new connection needed to be
established, it would never happen. This was easily
reproducible by physically pulling the plug of the
network connection, waiting for some sort of socket
error, then plugging the connection back in. Now
whenever an error happens and there is going to be a
retry, the connection is disconnected (which will force
a new connection to be established when the retry happens).
Additions:
- new parameter -retries to set the number of retries
- new parameter -retrywait to set the number of seconds
to wait between retries
Changes:
- changed default retries to 30 and default retry wait
to 60 seconds, so by default only 30 mins of retry time
(instead of the previous 4 hours).
- version to 0.4
Ypost 0.4 patch