[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-29 Thread Matthew McGillis (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16343921#comment-16343921 ] Matthew McGillis commented on NET-650: -- The question I had is can we add something without impacting

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-29 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16343146#comment-16343146 ] Sebb commented on NET-650: -- bq. If InetSocketAddress acts ... The above is ambiguous; the InetSocketAddress

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Matthew McGillis (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341887#comment-16341887 ] Matthew McGillis commented on NET-650: -- If InetSocketAddress acts as I have indicated then if someone

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Matthew McGillis (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341858#comment-16341858 ] Matthew McGillis commented on NET-650: -- > Yes, of course, but AFAICT that is buried deep (in the native

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341849#comment-16341849 ] Sebb commented on NET-650: -- bq. Maybe if it doesn't exist remotely then look locally. You only find out if the

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Matthew McGillis (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341839#comment-16341839 ] Matthew McGillis commented on NET-650: -- > If the remote does not have a mapping, you have to

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341826#comment-16341826 ] Sebb commented on NET-650: -- If the remote does not have a mapping, you have to use/remember the IP address. It would

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Matthew McGillis (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341812#comment-16341812 ] Matthew McGillis commented on NET-650: -- > There may be no remote mapping, so you might want to add your

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341808#comment-16341808 ] Sebb commented on NET-650: -- OK great, thanks for testing. Now just need to work out how to implement this without

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Matthew McGillis (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341803#comment-16341803 ] Matthew McGillis commented on NET-650: -- Your latest changes work as expected for both host name and IP

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341799#comment-16341799 ] Sebb commented on NET-650: -- bq. if you have directed something to use a proxy then you want the remote mapping of

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341796#comment-16341796 ] Sebb commented on NET-650: -- I forget I changed my code slightly to debug the NPE. It should be {code} _hostname_ =

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Matthew McGillis (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341784#comment-16341784 ] Matthew McGillis commented on NET-650: -- I get this with those lines: {code} $ javac -cp

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Matthew McGillis (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341777#comment-16341777 ] Matthew McGillis commented on NET-650: -- > This brings up something else: it's possible that the hostname

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341770#comment-16341770 ] Sebb commented on NET-650: -- Thanks for the info. I left a bit out: {code} _socket_ =

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Matthew McGillis (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341732#comment-16341732 ] Matthew McGillis commented on NET-650: -- InetSocketAddress should work regardless of proxy or not. So you

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Matthew McGillis (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341717#comment-16341717 ] Matthew McGillis commented on NET-650: -- This is what I get when using your imapproxy2 code with a

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Matthew McGillis (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341706#comment-16341706 ] Matthew McGillis commented on NET-650: -- This would be an outline of a test case you might want to setup

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341698#comment-16341698 ] Sebb commented on NET-650: -- OK, sorry, I had confused InetAddress with InetSocketAddress. Does the imapproxy2.java

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Matthew McGillis (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341640#comment-16341640 ] Matthew McGillis commented on NET-650: -- See the API for the socket connect

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-26 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341532#comment-16341532 ] Sebb commented on NET-650: -- I don't have any way of testing this. However if you say that socketproxy.java works,

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-11 Thread Matthew McGillis (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16323469#comment-16323469 ] Matthew McGillis commented on NET-650: -- Well this is the details of the exception: {noformat}

[jira] [Commented] (NET-650) IMAPClient over proxy doesn't properly resolve DNS

2018-01-11 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/NET-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16323283#comment-16323283 ] Sebb commented on NET-650: -- Any suggestions for a patch? > IMAPClient over proxy doesn't properly resolve DNS >