Commons Net
  1. Commons Net
  2. NET-430

Can't login to POP3S Server using explicit mode

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1
    • Component/s: POP3
    • Labels:
      None

      Description

      Login fails if using explizit mode as the reader and writer remain the same after STLS command.
      Take a look at https://issues.apache.org/jira/browse/NET-421 - it's nearly the same bug.

      Bugfix for POP3SClient.java:

      private void performSSLNegotiation() throws IOException
      {
         ...    
          _reader = new CRLFLineReader(new InputStreamReader(_input_, __DEFAULT_ENCODING));
          __writer = new BufferedWriter(new OutputStreamWriter(_output_, __DEFAULT_ENCODING));
      }

      Therefore you have to change some variables in POP3.java from private to protected.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Thomas Mathis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development