Skip to content

Commit

Permalink
FTPSClient execPROT removes proxy settings #90.
Browse files Browse the repository at this point in the history
Lower visibility of method back
  • Loading branch information
garydgregory committed Nov 7, 2022
1 parent f9e0035 commit e1149ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="NET-711" type="fix" dev="ggregory" due-to="Jochen Wiedmann, Gary Gregory">
Add FTP option to toggle use of return host like CURL.
</action>
<action issue="NET-642" type="fix" dev="ggregory" due-to="Yani Mihaylov, Gary Gregory">
FTPSClient execPROT removes proxy settings #90.
</action>
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Gary Gregory">
[FTP] Add FTPClient.mdtmInstant(String).
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/org/apache/commons/net/ftp/FTPClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,7 @@ public String[] featureValues(final String feature) throws IOException {
*
* @return The client port for active mode.
*/
protected int getActivePort()
int getActivePort()
{
if (activeMinPort > 0 && activeMaxPort >= activeMinPort)
{
Expand Down Expand Up @@ -1871,7 +1871,7 @@ FTPFileEntryParser getEntryParser() {
* @return __activeExternalHost if non-null, else getLocalAddress()
* @see #setActiveExternalIPAddress(String)
*/
protected InetAddress getHostAddress()
InetAddress getHostAddress()
{
if (activeExternalHost != null)
{
Expand Down Expand Up @@ -1992,7 +1992,7 @@ public int getReceiveDataSocketBufferSize() {
*
* @return __reportActiveExternalHost if non-null, else getHostAddress();
*/
protected InetAddress getReportHostAddress() {
InetAddress getReportHostAddress() {
if (reportActiveExternalHost != null) {
return reportActiveExternalHost ;
}
Expand Down

0 comments on commit e1149ce

Please sign in to comment.