commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (NET-430) Can't login to POP3S Server using explicit mode
Date Thu, 05 Jan 2012 19:08:39 GMT

     [ https://issues.apache.org/jira/browse/NET-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved NET-430.
----------------------

       Resolution: Fixed
    Fix Version/s: 3.1
    
> Can't login to POP3S Server using explicit 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
>             Fix For: 3.1
>
>
> 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

        

Mime
View raw message