sledgehammer999 | 20 Jul 21:36 2014

Load the ipv6 geoip database

Is there any way to load both the ipv4 and ipv6 GeoIP libraries into
libtorrent? Should I just call session::load_country_db() twice?

Also what do asn numbers mean/do? Do they help in name resolving?
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
MooPolice | 19 Jul 09:47 2014
Picon

release files (trunk 10124)

There seems to be no logic to release files if a torrent is paused or removed.
I looked at the source code and it seems to me that only in case of a torrent has
finished downloading it releases files. (But files get opened soon again for seeding.)
So i guess the only way to release files is the case there the file pool closes them
to make room for other files.

Do I have to call something like torrent_handle::flush_cache() before I can remove a torrent 
to release files?

In case I am misssing something: What is the correct way to remove a torrent from the 
session and release files?

MassaRoddel

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
Moritz Warning | 19 Jul 00:08 2014
Picon

Finding recent DHT changes


Hi,

I wanted to try out the recently added DHT get/set features.
From what I have gathered by now, I need to add some additional
Python bindings.
So now I need to find the new changes/functions. But SVN does
not allow me limit search the history by folder.
Maybe somebody can tell me what functions I have to use?

Anyway, is this a fork?
https://github.com/rakshasa/libtorrent

I was looking for a git repository so I could find
the changes mentioned in the changelog.
But everything looks different at a first glance.

regards,
mwarning
Yuan, Tao | 17 Jul 16:17 2014
Picon

lsd doesn't work since the m_cookie is a fixed value.

m_cookie is initialized at lsd construction, with random(). Without
random_seed(), the random() always return a same value. so, lsd will nerver
works.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
MooPolice | 12 Jul 11:09 2014
Picon

Feedback trunk 10104

Hi,
here is some feedback for tests with trunk on Windows.

32Bit VS2005 + Boost 1.55:

- VS2005 does not support the SSE functions (minor problem)
- crashes in torrent::init() called from torrent::set_metadata()
   while iterating through the connections the iterator becomes invalid
- there are others crashes related to peer connections and torrents too -
  seems that sometimes locking the torrent pointer in a peer object failes
  and there is no code to deal with that.  
  (Can this be caused by my plugins disconnecting peers?)

64Bit VS2013 + Boost 1.55(required)

- crashed in block_cache::insert_blocks() because cache_hit() returned
  an invalid cached_piece_entry (pe)

MassaRoddel
------------------------------------------------------------------------------
Calum Lind | 11 Jul 20:52 2014
Picon

lt 1.0.0 build: "fatal error: cstddef:"

I attempted to build lt 1.0.0 on Ubuntu 12.04 and make failed with the
following error :

  CC       ../ed25519/src/add_scalar.lo
cc1: warning: command line option '-ftemplate-depth=100' is valid for
C++/ObjC++ but not for C [enabled by default]
In file included from /usr/include/boost/config.hpp:40:0,
                 from ../include/libtorrent/config.hpp:55,
                 from ../ed25519/src/ed25519.h:6,
                 from ../ed25519/src/add_scalar.c:1:
/usr/include/boost/config/select_stdlib_config.hpp:17:19: fatal error:
cstddef: No such file or directory
compilation terminated.
make[1]: *** [../ed25519/src/add_scalar.lo] Error 1
make[1]: Leaving directory `/home/ubuntu/libtorrent-rasterbar-1.0.0/src'
make: *** [all-recursive] Error 1

------------------------------------------------------------------------------
Calum Lind | 11 Jul 20:43 2014
Picon

Query about moving_storage feature

On 6 July 2014 17:00, arvid <arvid <at> cs.umu.se> wrote:
> On 2014-07-04 03:42, Calum Lind wrote:
>>
>> Arvid, thanks for another major release.
>>
>> I have a query though about the new moving_storage feature as I just
>> looked at the code and see that the in not in the state_t enum as I
>> was expecting?
>
>
> could you be more specific? did I miss anything?
>
> --
> Arvid Norberg

What I was expecting was moving_storage to be added as another torrent
state and we would receive notification via a state_changed_alert.
Mainly because I assumed the torrent would not strictly be classified
in any of the other states while moving.

It's not really a major issue as I'll call an update to our state,
when initiating the move, which can check for the new field and then
update again on receiving storage alerts.

Calum

------------------------------------------------------------------------------
Andrey Shigotarov | 7 Jul 11:32 2014

Client's name isn't displayed correctly

Hello
I have one issue with libtorrent 1.0 - the client's name isn't displayed
correctly in other clients, such as uTorrent or qBittorrent. Please see
attached screenshot.
I'm using VS 2010

I've also found similar question
http://sourceforge.net/p/libtorrent/mailman/message/32390003/

Thanks

[image: Inline image 1]
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Libtorrent-discuss mailing list
Libtorrent-discuss <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
Rusmir Dusko | 3 Jul 22:28 2014
Picon

Re: Libtorrent-discuss post from nemysis <at> gmx.ch requires approval

On Thu, 03 Jul 2014 11:24:01 -0700
arvid <arvid <at> cs.umu.se> wrote:

> Somehow I got this moderator email, but your post did not show up in 
> mailman.
> 
> On 2014-07-03 11:01, libtorrent-discuss-owner <at> lists.sourceforge.net 
> wrote:
> > As list administrator, your authorization is requested for the
> > following mailing list posting:
> > 
> >     List:    Libtorrent-discuss <at> lists.sourceforge.net
> >     From:    nemysis <at> gmx.ch
> >     Subject: Re: [libtorrent] libtorrent-1.0 released
> >     Reason:  Post by non-member to a members-only list
> > [...]
> > 
> > I have problem to compile libtorrent-1.0 in FreeBSD
> > 
> > get this with many Warnings now
> > 
> > make stage
> > 
> > ...
> > /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof'
> > #define offsetof(type, member)  __offsetof(type, member)
> >                                 ^
> > [...]
> 
> unfortunately the use of this technique got pretty entrenched before I
(Continue reading)

arvid | 3 Jul 06:50 2014
Picon
Picon

libtorrent-1.0 released

Download it here:

   
http://sourceforge.net/projects/libtorrent/files/libtorrent/libtorrent-rasterbar-1.0.0.tar.gz/download

There has been some changes in the API, mostly the rarely used corners 
though. Please
let me know if you run into trouble updating (which might warrant code 
or documentation updates).
Perhaps the most intrusive changes have been to add_torrent_params, 
which now is a much more reasonable type, not keeping pointers around to 
storage owned by the client. It's meant to be (almost entirely) 
backwards compatible though, as long as TORRENT_NO_DEPRECATE is not 
defined. If you give it a try to see if you're using any deprecated 
calls, be sure to define it both when building libtorrent _and_ when 
linking to it, it affects the ABI!

The documentation has been overhauled a bit and is now generated from 
the source, find the new reference documentation here:

   http://libtorrent.org/reference.html

Changes since the latest stable:

1.0 release

	* fix bugs in convert_to/from_native() on windows
	* fix support for web servers not supporting keepalive
	* support storing save_path in resume data
	* don't use full allocation on network drives (on windows)
(Continue reading)

ximply | 3 Jul 04:23 2014
Picon

How to extract http download from libtorrent

I use libtorrent for some time, libtorrent is a very good project!
These days, I wan to implement a http download module, as I
know, libtorrent supports http download (when torrent contains http url),
and libtorrent supports cache management, speed control, downlaod control(start, pause),
all of these are very good for http download, so I want to extract http download from libtorrent,
but this is all a bit difficult for me. Can somebody help me or give me some suggestions?
Sorry for my poor english, english is not my mother tongue, thanks in advance!

 
 		 	   		  
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft

Gmane