70 Révisions (e5332f1aa9226a0934ae616828e1dbf603d50d91)

Auteur SHA1 Message Date
  Richard Nyberg e5332f1aa9 Hashtable tweaks. il y a 16 ans
  Richard Nyberg a32c7814cc Show tracker counts in btcli stat. il y a 16 ans
  Richard Nyberg 438881f16f Improve the torrent stop and btpd shutdown sequences. il y a 16 ans
  Richard Nyberg 7b8644dcc1 Provide own implementation of asprintf if it's missing. il y a 16 ans
  Richard Nyberg df5fc31ea8 Remove unnecessary include. il y a 16 ans
  Richard Nyberg 06bd2a1a21 On solaris bcopy and some other useful functions are declared in strings.h. il y a 16 ans
  Richard Nyberg 50a313570f Update build scripts for recent btpd changes. Also use only one makefile. il y a 16 ans
  Richard Nyberg b5d78b066a Make the http client independent of events and use my iobuf. il y a 16 ans
  Richard Nyberg 3af2b0c0ac Make iobuf more useful for io and use better names in its api. il y a 16 ans
  Richard Nyberg 186113e4ee Add the function memfind. It'll be used by iobuf. il y a 16 ans
  Richard Nyberg 340fbf4737 The "Host" HTTP header should be placed as early as possible and also include il y a 17 ans
  Richard Nyberg 1758597e3e Recognize both the CRLF sequence and single LF characters as line terminators. il y a 17 ans
  Richard Nyberg 8f4fde49ee Fix bug in benc_length. benc_first shouldn't be used here since it returns il y a 17 ans
  Richard Nyberg 7c2b7b656e Fix problem introduced in r345. A call to http_get could cause the il y a 17 ans
  Richard Nyberg 771e649c41 Don't try to resolve the host if it is already given as an ip address. il y a 17 ans
  Richard Nyberg 9bd0fc6cdc o Rename net_(write|read)32 to (enc|dec)_be32. Add similar functions for 64 il y a 17 ans
  Richard Nyberg 352ed70600 Update the build scripts for the following events: il y a 18 ans
  Richard Nyberg 568d116335 Remove a couple of forgotten debug printfs. il y a 18 ans
  Richard Nyberg 00e242ce2b Add bts_filename which gets the current filename from a bt_stream. il y a 18 ans
  Richard Nyberg 1d7b396fc7 Some cleanup. Use names for some numeric constants. il y a 18 ans
  Richard Nyberg 80dcfecbe5 Rename callback type, add timeouts and and allow any http version in the il y a 18 ans
  Richard Nyberg d5700c2f20 Add max(x, y) macro. il y a 18 ans
  Richard Nyberg 1b7bb76fb7 Add a simple http client. Since it uses libevent it's a better fit for btpd il y a 18 ans
  Richard Nyberg cd8a3d5ecd Make mkdirs behave more like 'mkdir -p' and make btpd create the directory il y a 18 ans
  Richard Nyberg ff3f222885 OpenBSD doesn't have stdint.h. It'd be great if they would implement basic c99 il y a 18 ans
  Richard Nyberg f20c481b11 There's no need to fsync here, so remove the call. This should improve il y a 18 ans
  Richard Nyberg 29495ab53b Add and use the function make_abs_path. realpath didn't fit my needs. il y a 18 ans
  Richard Nyberg b306439636 Update for the read_whole_file -> read_file change. il y a 18 ans
  Richard Nyberg 3fb4e5a894 Simplify read_whole_file and rename to read_file. il y a 18 ans
  Richard Nyberg 45bf9f2658 Allow empty files in torrents. Create them in stat_and_adjust and let the il y a 18 ans
  Richard Nyberg a781e02cd8 Add missing includes. il y a 18 ans
  Richard Nyberg e652eefa26 Add value queries for total amount up- and downloaded. Use the cached values il y a 18 ans
  Richard Nyberg ba9ae40fe7 Add command to stop all active torrents. The command is sent by il y a 18 ans
  Richard Nyberg 30601882e5 Whitespace. il y a 18 ans
  Richard Nyberg 00db1f1ced Add function benc_strcmp. il y a 18 ans
  Richard Nyberg ce0ef9d46b Better message for ENOTENT. il y a 18 ans
  Richard Nyberg a5ae3e120f Some changes to the iobuf interface. Remove a debug assert from btpd_if.c and il y a 18 ans
  Richard Nyberg 763cbbb59f Hook the new files to the build. il y a 18 ans
  Richard Nyberg 8695ecdf18 Pointers to different things need not be represented in the same way. il y a 18 ans
  Richard Nyberg 848de36107 This file contains the definitions of the constants used in the btpd il y a 18 ans
  Richard Nyberg a162d34982 Moved from ../cli. il y a 18 ans
  Richard Nyberg 13607e007a Remove unused function bts_hashes. il y a 18 ans
  Richard Nyberg 334c94db46 There is no spoon^H^H^H^Htruct metainfo. Use struct mi_file instead. il y a 18 ans
  Richard Nyberg cd0eb82f20 The metainfo code provided a load -> test -> struct metainfo interface. il y a 18 ans
  Richard Nyberg c41c08adca Moved from ../btpd/queue.h il y a 18 ans
  Richard Nyberg a27913a47d Add functions for conversions between binary data and ascii hex. il y a 18 ans
  Richard Nyberg 203d4148e4 Add a hashtable implementation. il y a 18 ans
  Richard Nyberg c9ea09b1ad Enable printf format type checking for buf_print. il y a 18 ans
  Richard Nyberg 47358cf420 Add function benc_strlen. il y a 18 ans
  Richard Nyberg c865aa9254 Use c99 types conservatively to compile on OpenBSD. Also convert to or from il y a 19 ans