Changeset e6251e7c


Ignore:
Timestamp:
Dec 13, 2017 11:23:02 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
b33551d4
Parents:
5f413ef
Message:

i2ptunnel: Add internal sockets for SMTP and POP3 (ticket #2118)

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelClient.java

    r5f413ef re6251e7c  
    3535    private static final long DEFAULT_READ_TIMEOUT = 5*60*1000; // -1
    3636    protected long readTimeout = DEFAULT_READ_TIMEOUT;
     37    private InternalSocketRunner _isr;
    3738
    3839    /**
     
    201202                }
    202203                if (svc != null) {
     204                    _isr = new InternalSocketRunner(this);
     205                    _isr.start();
    203206                    _context.portMapper().register(svc, getTunnel().listenHost, getLocalPort());
    204207                }
     
    224227        }
    225228        boolean rv = super.close(forced);
     229        if (_isr != null) {
     230            _isr.stopRunning();
     231        }
    226232        return rv;
    227233    }
  • apps/susimail/src/src/i2p/susi/webmail/pop3/POP3MailBox.java

    r5f413ef re6251e7c  
    4343
    4444import net.i2p.data.DataHelper;
     45import net.i2p.util.InternalSocket;
    4546
    4647/**
     
    610611               
    611612                try {
    612                         socket = new Socket(host, port);
     613                        socket = InternalSocket.getSocket(host, port);
    613614                } catch (IOException e) {
    614615                        Debug.debug( Debug.DEBUG, "Error connecting: " + e);
  • apps/susimail/src/src/i2p/susi/webmail/smtp/SMTPClient.java

    r5f413ef re6251e7c  
    4242
    4343import net.i2p.data.DataHelper;
     44import net.i2p.util.InternalSocket;
    4445
    4546/**
     
    234235               
    235236                try {
    236                         socket = new Socket( host, port );
     237                        socket = InternalSocket.getSocket(host, port);
    237238                } catch (IOException e) {
    238239                        error += _t("Cannot connect") + " (" + host + ':' + port + ") : " + e.getMessage() + '\n';
  • history.txt

    r5f413ef re6251e7c  
     12017-12-13 zzz
     2 * i2ptunnel: Add internal sockets for SMTP and POP3 (ticket #2118)
     3 * Util: InternalSocket improvements
     4
     52017-12-11 zzz
     6 * Jetty: Fix request log showing zero length for static content
     7 * Startup: Raise open files ulimit (ticket #1967)
     8
     92017-12-10 zzz
     10 * Router: Change RI locking to a read/write lock (ticket #2096)
     11
    1122017-12-08 zzz
     13 * SU3File: Flush and sync on extract (ticket #1941)
    214 * SusiMail:
    315   - Reference mails by UIDL, not index on page, put UIDL in
     
    517   - Fix download of attachments without a Content-Transfer-Encoding
    618   - Fix error return for attachment not found
     19   - Fix handling of requests for unknown messages
    720   - Set encoding for text attachments
    821   - Add more safe mime types for downloading
     22   - Add tooltips for icon-only buttons
    923
    10242017-12-07 zzz
  • router/java/src/net/i2p/router/RouterVersion.java

    r5f413ef re6251e7c  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 14;
     21    public final static long BUILD = 15;
    2222
    2323    /** for example "-test" */
Note: See TracChangeset for help on using the changeset viewer.