version 1.17, 2003/08/03 00:44:31
|
version 1.18, 2003/08/06 09:52:29
|
Line 45
|
Line 45
|
|
|
# Change log: |
# Change log: |
# $Log$ |
# $Log$ |
|
# Revision 1.18 2003/08/06 09:52:29 foxr |
|
# Also needed to remember to fail in-flight transactions if their sends fail. |
|
# |
# Revision 1.17 2003/08/03 00:44:31 foxr |
# Revision 1.17 2003/08/03 00:44:31 foxr |
# 1. Correct handling of connection failure: Assume it means the host is |
# 1. Correct handling of connection failure: Assume it means the host is |
# unreachable and fail all of the queued transactions. Note that the |
# unreachable and fail all of the queued transactions. Note that the |
Line 928 sub LondWritable {
|
Line 931 sub LondWritable {
|
# We'll treat this as if the socket got disconnected: |
# We'll treat this as if the socket got disconnected: |
Log("WARNING", "Connection to ".$RemoteHost. |
Log("WARNING", "Connection to ".$RemoteHost. |
" has been disconnected"); |
" has been disconnected"); |
|
FailTransaction($ActiveTransactions{$Socket}); |
$Watcher->cancel(); |
$Watcher->cancel(); |
KillSocket($Socket); |
KillSocket($Socket); |
return; |
return; |