forked from I2P_Developers/i2p.i2p
* I2PSocketEepGet: Set port to 80
* I2PTunnel: - Pass port through HTTP client proxy - HTTP server proxy sets host header to the value of "spoofedhost.xx" option for port xx - Set client options more efficiently
This commit is contained in:
@@ -143,6 +143,8 @@ public class I2PSocketEepGet extends EepGet {
|
||||
// in the SYN packet, saving one RTT.
|
||||
props.setProperty(PROP_CONNECT_DELAY, CONNECT_DELAY);
|
||||
I2PSocketOptions opts = _socketManager.buildOptions(props);
|
||||
// TODO pull port out of URL
|
||||
opts.setPort(80);
|
||||
_socket = _socketManager.connect(dest, opts);
|
||||
} else {
|
||||
throw new IOException("Unsupported protocol: " + _actualURL);
|
||||
|
Reference in New Issue
Block a user