Page 1 of 1

libtorrent 0.16.x proxy problem with udp

Posted: Wed Nov 13, 2013 5:03 am
by mrserc
It seems libtorrent 0.16.x has a problem with udp connections through proxies.

After I upgraded to Deluge 1.3.6 I wasn't able to connect to any udp trackers and 1.3.5 doesn't work on Mavericks. I then tried qbittorrent and had the same problem - I went back version by version keeping the same config files and then when I hit a version with libtorrent 0.15.x everything started working.

Is it possible to compile a version of 1.3.6 for Mac with a 0.15.x version of libtorrent? I'm not sure how to go about it. I see the instructions for MacPorts but that seems to include 0.16.12 by default and not sure how I'd change that.

Any help much appreciated.

Re: libtorrent 0.16.x proxy problem with udp

Posted: Wed Nov 13, 2013 11:07 am
by Cas
From the libtorrent changelog it looks to be fixed for next release (0.16.13)

Re: libtorrent 0.16.x proxy problem with udp

Posted: Fri Nov 15, 2013 1:35 am
by mrserc
That's great; what would that mean for when it would be incorporated in Deluge? Would it be when the next version comes out (not sure when that's planned) or would the dependency in MacPorts get updated earlier? Just wondering what's my best bet for the time being.

Re: libtorrent 0.16.x proxy problem with udp

Posted: Fri Nov 15, 2013 10:45 am
by Cas
It's probable that macports would update earlier however that would not be until release whereas if I have the time I can package the libtorrent RC code.

Alternatively you could rebuild the macports version yourself with the updated code.

A third option is to open a macports bug report and have them add a patch or use the RC code.

Re: libtorrent 0.16.x proxy problem with udp

Posted: Thu Nov 21, 2013 2:18 am
by mrserc
I haven't used macports before. I downloaded xcode and started reading the guide but it wasn't immediately clear to me how to rebuild with updated code, just how to install the existing macports version. I hope to give it a more thorough go this weekend. Ideally, I'd like to skip macports altogether and use xcode to build a proper app package but sounds like my best bet may be to wait for you to package it.

Re: libtorrent 0.16.x proxy problem with udp

Posted: Thu Nov 21, 2013 11:14 am
by Cas
This is how we build the package: http://dev.deluge-torrent.org/wiki/Deve ... kaging/OSX (current text file looks better on github: https://github.com/cas--/Deluge/blob/de ... /README.md)