Small temporary fix for newsserver connects
This commit is contained in:
parent
f07f9f6a92
commit
3cd3c9124f
@ -16,6 +16,11 @@ v0.35.03 06-Jul-2002
|
|||||||
Added protection against emty rfc headers with only a space.
|
Added protection against emty rfc headers with only a space.
|
||||||
Added test for HA archiver.
|
Added test for HA archiver.
|
||||||
|
|
||||||
|
mbinet.a:
|
||||||
|
If during a connect a newsserver refuses the connection then
|
||||||
|
don't close our side of the connection. This is a temporary
|
||||||
|
solution, we should disconnect with timeout instead.
|
||||||
|
|
||||||
lang:
|
lang:
|
||||||
Corrected a spelling error in the Dutch language file.
|
Corrected a spelling error in the Dutch language file.
|
||||||
|
|
||||||
|
@ -116,7 +116,8 @@ int nntp_connect(void)
|
|||||||
}
|
}
|
||||||
} else if (strncmp(p, "200", 3)) {
|
} else if (strncmp(p, "200", 3)) {
|
||||||
WriteError("NNTP: bad response: %s", p);
|
WriteError("NNTP: bad response: %s", p);
|
||||||
nntp_close();
|
// nntp_close(); FIXME: Don't close, the other end might have done that already
|
||||||
|
// If we do also, this program hangs. Must be fixed!
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user