summaryrefslogtreecommitdiff
path: root/src/JsonDiskWriter.h
Commit message (Collapse)AuthorAgeFilesLines
* Parse torrent file on the fly if --follow-torrent=mem is givenTatsuhiro Tsujikawa2012-07-261-45/+2
| | | | | In this changes, Bencode parser in bencode2 is removed and the request is delegated to BencodeParser.
* Use int64_t instead of off_tTatsuhiro Tsujikawa2012-07-231-6/+6
| | | | | | | | Using off_t, at least, in DiskAdaptor layer is problematic because torrent can contain under 2GiB files but total sum of those files may exceed 2GiB limit, which makes off_t overflow in 32 bit system without large file support. So we use int64_t in API. We'll check the file length before download so that it does not exceed max off_t.
* Parse HTTP RPC request on the fly without bufferingTatsuhiro Tsujikawa2012-07-141-0/+94