mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 14:02:47 +00:00
Bug 327710: Ident server uses wrong disconnect function, patch by Robert Marshall (tH) <rdmsoft@bugs.rdmsoft.com>, r=Silver
This commit is contained in:
parent
ba481a8d51
commit
a5f5710817
@ -182,7 +182,7 @@ function ident_listener_rawdata(e)
|
|||||||
|
|
||||||
if (!ports)
|
if (!ports)
|
||||||
{
|
{
|
||||||
this.disconnect(); // same meaning as "ERROR : UNKNOWN-ERROR"
|
this.connection.disconnect(); // same meaning as "ERROR : UNKNOWN-ERROR"
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -209,7 +209,7 @@ function ident_listener_request(e)
|
|||||||
if (!validPort(e.localPort) || !validPort(e.remotePort))
|
if (!validPort(e.localPort) || !validPort(e.remotePort))
|
||||||
{
|
{
|
||||||
this.connection.sendData(response("ERROR : INVALID-PORT"));
|
this.connection.sendData(response("ERROR : INVALID-PORT"));
|
||||||
this.disconnect();
|
this.connection.disconnect();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -234,5 +234,5 @@ function ident_listener_request(e)
|
|||||||
|
|
||||||
// Spec gives us a choice: drop the connection, or listen for more queries.
|
// Spec gives us a choice: drop the connection, or listen for more queries.
|
||||||
// Since IRC servers will only ever want one name, we disconnect.
|
// Since IRC servers will only ever want one name, we disconnect.
|
||||||
this.disconnect();
|
this.connection.disconnect();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user