Can't login to POP3S Server using explizit mode
-----------------------------------------------

                 Key: NET-430
                 URL: https://issues.apache.org/jira/browse/NET-430
             Project: Commons Net
          Issue Type: Bug
          Components: POP3
    Affects Versions: 3.0.1
            Reporter: Thomas Mathis
            Priority: Blocker


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:
{noformat}private void performSSLNegotiation() throws IOException
{
   ...    
    _reader = new CRLFLineReader(new InputStreamReader(_input_, 
__DEFAULT_ENCODING));
    __writer = new BufferedWriter(new OutputStreamWriter(_output_, 
__DEFAULT_ENCODING));
}{noformat} 

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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to