forked from I2P_Developers/i2p.i2p
Streaming: Don't send HTTP response to HTTPS request
This commit is contained in:
@ -290,7 +290,8 @@ class ConnectionManager {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean reset = resp == null || resp.equals("reset") || resp.length() <= 0;
|
boolean reset = resp == null || resp.equals("reset") || resp.length() <= 0 ||
|
||||||
|
synPacket.getLocalPort() == 443;
|
||||||
boolean http = !reset && "http".equals(resp);
|
boolean http = !reset && "http".equals(resp);
|
||||||
boolean custom = !(reset || http);
|
boolean custom = !(reset || http);
|
||||||
String sendResponse;
|
String sendResponse;
|
||||||
|
Reference in New Issue
Block a user