Show
Ignore:
Timestamp:
11/04/06 11:05:28 (6 years ago)
Author:
rakshasa
Message:

* Properly nul-terminate the info hash and client id in the tracker
request.

* Implemented options for read-ahead of
chunks. 'preload_min_pipelined', 'preload_min_size' and
'preload_required_rate' are used to decide when to read-ahead a chunk.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/rtorrent/rak/error_number.h

    r743 r800  
    5454  static const int e_nomem       = ENOMEM; 
    5555  static const int e_notdir      = ENOTDIR; 
     56  static const int e_isdir       = EISDIR; 
    5657   
    5758  static const int e_intr        = EINTR; 
     
    7475  static error_number current()                    { return errno; } 
    7576  static void         clear_global()               { errno = 0; } 
     77  static void         set_global(error_number err) { errno = err.m_errno; } 
    7678 
    7779  bool operator == (const error_number& e) const   { return m_errno == e.m_errno; }