Review Request 115250: Try PASV mode when using Socks proxy

David Faure faure at kde.org
Mon Oct 27 21:18:46 GMT 2014



> On Oct. 27, 2014, 8:42 p.m., David Faure wrote:
> > Why wasn't this committed?
> 
> Emil Sedgh wrote:
>     I would commit it now, but I'm not sure where should I commit this.
>     Is kdelibs/master frozen? Should I commit this to KIO framework now?

You can commit bugfixes to KDE/4.14

In any case yes, commit to kio.git master too.


- David


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115250/#review69217
-----------------------------------------------------------


On Jan. 23, 2014, 11:31 a.m., Emil Sedgh wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115250/
> -----------------------------------------------------------
> 
> (Updated Jan. 23, 2014, 11:31 a.m.)
> 
> 
> Review request for kdelibs, Dawit Alemayehu and David Faure.
> 
> 
> Repository: kdelibs
> 
> 
> Description
> -------
> 
> FTP has two modes: PASV and EPSV.
> Not all server's support EPSV.
> 
> Currently, kio_ftp gives up on PASV mode if socks proxy is enabled.
> That is because QHostAddress.protocol() returns -1 (unknown protocol) on KUrl("socks://localhost:3128").
> 
> So kio_ftp fails using SOCKS proxy on server's that lack EPSV support.
> 
> This patch makes sure kio_ftp will try PASV mode if socks proxy is enabled.
> 
> 
> Diffs
> -----
> 
>   kioslave/ftp/ftp.cpp 5bb2e8d 
> 
> Diff: https://git.reviewboard.kde.org/r/115250/diff/
> 
> 
> Testing
> -------
> 
> Tested a server that lacks EPSV support with and without proxy.
> Seems fine now.
> Used to throw 'Internal Server error'.
> 
> 
> Thanks,
> 
> Emil Sedgh
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20141027/16c9be29/attachment.htm>


More information about the kde-core-devel mailing list