Picon

(no subject)

Hi all.

  I using libtorrent on the STB. STB has a 250MHz MIPS processor, 128Mb
RAM, 100MBit LAN adapter and an interface USB 1.1.
  Libtorrent downloads torrent in a stream mode, writes a file on a flash
drive connected to USB and STB playbacks the video file immediately.
File system is EXT3.
  The speed of USB 1.1 is 12MBit/sec and libtorrent shows alert - 'max
outstanding disk writes reached'. I tried different session settings,
tried min_memory_usage() to no avail. Could you suggest settings to work
with USB 1.1?

--

-- 
С уважением,
Александр Новосёлов

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Libtorrent-discuss mailing list
Libtorrent-discuss <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
zhang peng | 8 Feb 11:54
Picon
Gravatar

Maybe a bug when web_peer_connection to request pad_files

Hi.

I found this maybe one bug :  When one torrent has some padding files
(_____padding_file_0 ...),  and when it retrives data from one url
seed, It sends request like:  GET /test/_____padding_file_10 HTTP/1.1.

But the url seed server doesn't have this file, so it disconnect from
the server. And then it cannot download files completely.

Waiting for your reply, thanks.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Kyle Flavin | 7 Feb 20:56
Picon
Gravatar

Clients announcing as stopped

I'm noticing an issue with the announce strings that I can't explain.
After I start my client and begin adding torrents to my session, I'll see
"event=started" announce URL's going to my tracker.  However, sometimes, I
will also see my clients sending out "event=stopped" in the announce.  This
happens immediately after I begin serving torrents from the started
client.  What would cause a client to send out a "stopped" event
immediately after beginning to serve torrents?  Is there a limit to the
number of torrents that can be served at one time?  I thought "stopped"
events are only sent out when the client shuts down.  I'm using the python
bindings.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
ALVARO SAURIN PARRA | 29 Jan 13:53
Picon
Gravatar

About limiting offered pieces




Hi there,


I was about to start a project where we have to implement a modified bittorrent protocol. The main
differences with the standard protocol are:

- once a peer serves a piece, it never sends (or tries to obtain) it again.
- there is always a bandwidth limit between any two peers.

There is also an implementation constraint: it must be done from Python. So I've been looking at the sources
and it seems the second constraint can be implemented with
set_peer_upload_limit()/set_peer_download_limit(), but I don't know if there is a way for limiting
the pieces offered/accepted to/from other peers. Could this be done from Python?


Thanks in advance




Alvaro






(Continue reading)

Picon
Gravatar

Problem with url seeds and proxy

Hi all,

I'm having a problem with an application using libtorrent and url seeds
when behind a HTTP proxy server.

>From what I can gather from debugging, it seems that the proxy server
closes the connection when the last chunk of a file is requested over HTTP
(using the "Range" header). This is detected by the following bit of code
from peer_connection::peer_connection::on_receive_data_nolock:

                        error_code ec;
                        bytes_transferred = try_read(read_sync, ec);
                        if (ec && ec != asio::error::would_block)
                        {

 m_statistics.trancieve_ip_packet(bytes_in_loop,
m_remote.address().is_v6());
                                disconnect(ec);
                                return;
                        }

the call to try_read returns asio::error::eof, and the data is discarded.
libtorrent will request the chunk again, which causes the same thing to
happen again. The download is effectively stalled.

Has anyone had any similar problems, and know a way to get around it?

Regards,
Fredrik
------------------------------------------------------------------------------
(Continue reading)

Pablo L.D | 31 Jan 16:48
Picon
Favicon
Gravatar

resume data and torrent info file_storage

Hi arvid, mm i having some problems when loading resume data with
mapped_files, (renamed files), if later i ask for
libtorrent::torrent_info::files() or orig_files() they both return the same
original name. But they effectively load the renamed file, making difficult
to so some cheking. I can force files() to return the mapped files names if
i rename files (via torrent_info) before adding the torrent.

Another thing i wanted to ask is if its possible after that is solved to
overwrite what the resume_data says about mapped_files before dding the
torrent, that way we can manipulate some error cheking if resume data was
not up to date (file existence, wich file, etc).

Thanks.

Pablo.

-------------------------------------------------------------------------

Please ensure the reply to this mail is tekert <at> tekert.com.ar

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Damian Vicino | 15 Jan 02:18
Picon
Favicon

Talk about libtorrent-rasterbar in spanish

Hi,
I gave a talk about libtorrent rasterbar in the last BSDday Argentina (2011).
There is a video and it can be found in
http://www.youtube.com/watch?feature=player_detailpage&v=Bz8ykWbVbJc
Damian
http://dfbsd.trackbsd.org.ar

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
James Haigh | 5 Jan 20:03
Picon

Magnet URIs: support for xt=urn:md5 and xt=urn:sha1

Hi, I've been directed here by the people at freenode/#deluge.

So of course xt=urn:btih is supported for magnet URIs, but the BTIH is
not always available before downloading the file. Quite often the MD5,
SHA1 and/or SHA256 is available on web servers. But I want to use
Bittorrent.

I suggest that DHT is used to associate the various hashes with the BTIH.

The depth of my knowledge on DHT is little more than this:
http://en.wikipedia.org/wiki/Distributed_hash_table#Structure

So as far as I understand, seeders should 'put( SHA1 of MD5, BTIH )'
and 'put( SHA1 of SHA1, BTIH )'. Then a leacher with only the SHA1 of
the file would 'get( SHA1 of SHA1 )', and with the returned BTIH would
start downloading as usual.

I'm much more interested in SHA1 support than MD5, due to collision
vulnerabilities of MD5, but it would still be nice to have both.

Thank you.
James Haigh.

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
(Continue reading)

Picon

[PATCH] Export session_settings defaults

This tiny patch adds TORRENT_EXPORT declarations for min_memory_usage() & high_performance_seed()
functions. 

-Mike

Attachment (settings_exports.patch): application/octet-stream, 1198 bytes

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Libtorrent-discuss mailing list
Libtorrent-discuss <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
thePACE | 26 Dec 02:36
Picon

libtorrent_aio + deluge

Arvid have you found time too look into logs i send you ?

it was about problem where files downloaded after hash recheck where not
marked as downloaded and always stuck @ same % , same happened after deluge
daemon restart. have have been sent you both deluged and libtorrent logs
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
Pablo L.D | 25 Dec 18:25
Picon
Favicon
Gravatar

Renaming files and post_torrent_updates

Hi arvid, im trying to figure out how renaming files calls are processed (im
renaming files that are incomplete and renaming back when they complete)

I almost sorted it out, exept i was wondering that, we have 3 or 4 ways to
rename.

torrent_handle::rename_file() for ongoing torrents.

torrent_info::rename_file() before adding.

torrent_info::files()::rename_file() , and orig_files().rename_file()  ?

Or defining own storage. i suposse all calls use this in the end.

I was wondering about the the files() or orig_files() one.

Im thinking of a way to check if any of the two names a torrent file exists
and its data is valid before renaming.

Just to check, the correct way would be to 1.- check wich file exist(need
some way to check resume data too and omit this if true), 2.- if no resume
data: modify torrent_info::rename_file() before adding, to load that file
3.- call  torrent_handle::rename_file() based on file finished alert.

?

Or im missing something.

Oh and, its seems post_torrent_updates() doesnt count some modified
torrents, like changed queue.
(Continue reading)


Gmane