Commit Graph

  • f85444542e Copy request before expanding url-encoded bytes Denis Ahrens 2007-01-24 20:13:30 +0000
  • 2746c1d258 Debugging for failed requests. Dirk Engling 2007-01-24 12:56:15 +0000
  • d2aa76a80b Count successful announces extra Dirk Engling 2007-01-23 15:48:51 +0000
  • 34977efa22 Now allow * in torrents Dirk Engling 2007-01-22 02:41:09 +0000
  • d880646196 FD-debug also in new iob_send path Dirk Engling 2007-01-20 14:11:53 +0000
  • c5d5867900 Full scrape, kinda tested Dirk Engling 2007-01-20 11:13:30 +0000
  • 1a5952c3ee increase the timeout to make the ride a little smoother for some clients Denis Ahrens 2007-01-20 02:50:33 +0000
  • 27199ad1c3 -m64 is not usually a correct compile option Dirk Engling 2007-01-20 01:50:28 +0000
  • 0210ea5d90 Debug file descriptors Dirk Engling 2007-01-19 17:50:35 +0000
  • e4323e3fe2 *seuftz* Denis Ahrens 2007-01-19 03:21:02 +0000
  • 6d049b33d3 set the interval to 1800 for announce (last change was only for scrape) Denis Ahrens 2007-01-19 03:19:12 +0000
  • f05ed877ed From now the OT_CLIENT_TIMEOUT will be enforced, even if some data arrived inside this interval Dirk Engling 2007-01-18 13:06:49 +0000
  • d3b93762fa Tidied main loop do accept() and read() before timeout() Dirk Engling 2007-01-18 12:27:17 +0000
  • 003d5a52a2 Give our server some air to check for timedout connections Dirk Engling 2007-01-18 02:40:18 +0000
  • 7df1f66840 Rearranged code to try to read data as soon as socket is accepted, also raise backlog for listening socket Dirk Engling 2007-01-18 02:23:18 +0000
  • ddd1609efd Simple top5 by peers/seeders table Dirk Engling 2007-01-17 17:39:36 +0000
  • cc07b8ca2c Simple top5 by peers/seeders table Dirk Engling 2007-01-17 11:51:55 +0000
  • a32ca2676c Prevent each invocation of clean_peerlist to call time() Dirk Engling 2007-01-16 03:57:19 +0000
  • 1012fd9c7e Use mrtg to do periodical cleanup. Hopefully that wont make too much load for stats. Dirk Engling 2007-01-16 03:44:13 +0000
  • f51335b9b8 Rudimentary stats Dirk Engling 2007-01-16 02:57:32 +0000
  • 7fd4de2dfc Do some timeout checking on the first possible moment Dirk Engling 2007-01-16 01:57:06 +0000
  • 03b2e45e0a Previous answer to event=stopped irritated some clients. Now reply with a static nothing-message Dirk Engling 2007-01-16 01:35:10 +0000
  • 313bfee080 set interval to default value from original tracker Denis Ahrens 2007-01-15 23:40:58 +0000
  • add4de97bf Cast types for mrtg_scrape sprintf Dirk Engling 2007-01-14 20:22:59 +0000
  • 6d25d0681f Drop permission, if we can Dirk Engling 2007-01-14 20:15:04 +0000
  • 134779877b New, fixpoint distinct random algorithm for choosing peers from the list... may contain bugs. Feedback welcome Dirk Engling 2007-01-13 19:06:39 +0000
  • 1e706713cc Dont want ips from query string by default Dirk Engling 2007-01-13 19:05:22 +0000
  • 0f66bfad08 Compiles with newest libowfat only Dirk Engling 2007-01-12 03:09:56 +0000
  • 925903cebb testsuite points to localhost Dirk Engling 2007-01-12 01:58:25 +0000
  • 0369a9f6e9 casting does floor() by itself Dirk Engling 2007-01-12 01:22:03 +0000
  • afa05fad96 Documentation improved, some reindenting (again), variable types checked, unnecessary defines removed Dirk Engling 2007-01-11 01:06:10 +0000
  • 400c9a4d6f Ignore SIGPIPE. This is safe, since it only raises, when the remote site died before we could send our paket back and is catched by write() returning -1 Dirk Engling 2007-01-10 16:42:39 +0000
  • f5f4c3e2ce Fixed a bug where I didn't replace new buffer pointer after realloc. Fixed a bug where I didnt copy enough memory when shrinking vectors. Now save some extra bytes in header. Dirk Engling 2007-01-09 06:30:37 +0000
  • ea9970f77a Now we also check, if no io happens Dirk Engling 2007-01-08 05:23:04 +0000
  • b51bbd6a4f Some code spacifying. Added actually checking timeouts. Dirk Engling 2007-01-08 05:18:53 +0000
  • 6510d31887 Indent. Sorry. Plus timeout on every connection, for every byte we got. Dirk Engling 2007-01-08 00:57:35 +0000
  • c55c17a871 This one breaks all ;) Lets see, what happens Dirk Engling 2007-01-08 00:34:37 +0000
  • 2f9ae6c584 add timeout for clients Dirk Engling 2007-01-07 00:20:20 +0000
  • 6df186ff06 shutdown was unnecessary Dirk Engling 2007-01-06 23:36:20 +0000
  • 6fd6d2a5ca tidy up options Dirk Engling 2007-01-06 22:25:09 +0000
  • def981fe44 Apply some limits Dirk Engling 2007-01-06 22:24:08 +0000
  • b5c344ea97 black listing was the wrong way around Dirk Engling 2007-01-05 17:00:41 +0000
  • a6e28732a1 really check g_check_blacklist flag Dirk Engling 2007-01-05 16:25:02 +0000
  • 9957e9ea1f Be more helpful Dirk Engling 2007-01-05 13:00:05 +0000
  • 1c97e9cd8c added closed tracker and blacklist code Dirk Engling 2007-01-05 12:25:44 +0000
  • a3ac795bec README\! Dirk Engling 2007-01-05 00:00:41 +0000
  • f3432e8616 Shell Testsuite Dirk Engling 2007-01-04 21:34:10 +0000
  • e8100db396 simplified binary_search, it always does a memcmp. began to implement dump knowledge Dirk Engling 2007-01-04 16:14:21 +0000
  • aa444b6e18 Added option to get ip from query string + parser, fixed two bugs concerning grow/shrink of vectors. Now cleans up a torrent BEFORE trying to remove a peer -> this may remove peer already and must be done anyway. Dirk Engling 2007-01-03 05:11:48 +0000
  • dca356ee24 Remove some integer constants from code. Bad coder. Very bad coder :/ Dirk Engling 2006-12-19 18:09:56 +0000
  • 82d969277e Now every answer goes in one buffer Dirk Engling 2006-12-19 18:01:28 +0000
  • 07c7a58269 Try early answers Dirk Engling 2006-12-16 18:46:11 +0000
  • 28037e46dd Missing header file Dirk Engling 2006-12-16 16:14:34 +0000
  • cbf3b309f7 try shutdown() the socket after writing Dirk Engling 2006-12-16 16:10:57 +0000
  • c1b8fafd8e corrected the modifier for size_t Denis Ahrens 2006-12-16 14:49:20 +0000
  • 8d67df43ae freebsd support Denis Ahrens 2006-12-16 13:27:26 +0000
  • f779a22f1b Fixed two mem leaks from httpd :/ Dirk Engling 2006-12-16 13:23:12 +0000
  • e2722edabb Fixed memleak in example httpd :/ Dirk Engling 2006-12-16 03:11:07 +0000
  • 48962c678e Made answer http/1.1 Dirk Engling 2006-12-16 01:22:48 +0000
  • a86c72c43b random Dirk Engling 2006-12-15 23:53:24 +0000
  • e07ea9bf71 Division in stats now works Dirk Engling 2006-12-15 23:46:34 +0000
  • f10cd3e42b Fix port again ;) Include headers in Makefile dependencies Dirk Engling 2006-12-15 23:38:18 +0000
  • cb91882c6c fixed setport fuckup Dirk Engling 2006-12-15 23:35:40 +0000
  • e866ddd61c fix include Dirk Engling 2006-12-15 23:29:38 +0000
  • dd3589f57e Make code endianess save Dirk Engling 2006-12-15 23:28:23 +0000
  • eec69e9a0f fixed typo Denis Ahrens 2006-12-15 22:46:01 +0000
  • 300a580250 sorted bencoded order Dirk Engling 2006-12-15 22:40:33 +0000
  • 8eee752d47 fix for freebsd Denis Ahrens 2006-12-15 22:10:55 +0000
  • ed84edb53e Fixed mem leak, inmplemented mrtg_scrape Dirk Engling 2006-12-15 22:07:33 +0000
  • 936bbca1b3 Cheap Excuses ;) Dirk Engling 2006-12-15 15:01:06 +0000
  • aae002d475 announce now returns all mandatory answer dictionary entries Dirk Engling 2006-12-14 02:54:08 +0000
  • 7d1d51cc05 Now actually seems to work for the most parts Added scraping Added graceful disconnect Dirk Engling 2006-12-14 02:44:50 +0000
  • 01bdb5495f Reacts more appropriate, however EXC_BAD_ACCESS triggered Dirk Engling 2006-12-13 14:44:14 +0000
  • 95f6864f4f Trackerlogic done... not tested yet Dirk Engling 2006-12-13 02:44:39 +0000
  • 2039029366 This is a complete rewrite... assume nothing works. Dirk Engling 2006-12-12 02:37:18 +0000
  • 39c23f5f71 Fixed parser Dirk Engling 2006-12-09 12:50:42 +0000
  • dd31159531 Logic now actually initialized and deinitialized Dirk Engling 2006-12-08 22:53:32 +0000
  • b2197faac9 Begun printf debugging Denis Ahrens 2006-12-08 22:37:44 +0000
  • 3c2f9bbea2 Should work now *cough* *cough* Dirk Engling 2006-12-08 21:36:25 +0000
  • 7d73d53102 Further compact code Dirk Engling 2006-12-08 21:00:56 +0000
  • 3fa7d7958b More cleanup Dirk Engling 2006-12-08 20:50:06 +0000
  • cc8c0a1df8 Some syntax errors removed Dirk Engling 2006-12-08 20:28:17 +0000
  • 75caa3e78e hooks into scanning functions built Dirk Engling 2006-12-08 20:07:26 +0000
  • d6b963d80a Our scanner routine for the URI query string Dirk Engling 2006-12-08 19:20:51 +0000
  • 41dfc9cd7e nochma Denis Ahrens 2006-12-07 22:38:35 +0000
  • f95be2772e url parser Denis Ahrens 2006-12-07 22:35:57 +0000
  • a605dd8dc5 Started to implement glue Dirk Engling 2006-12-07 02:58:02 +0000
  • 699368c51f Every cool project needs at least one header file Dirk Engling 2006-12-07 01:31:30 +0000
  • d3aeec1b4c Reloading peer_list files works in theory Dirk Engling 2006-12-07 01:31:11 +0000
  • e738f614b4 Cleaned up type namespace, mapping now works, introduced anonymous mapping, made init/deinit code, time now works.... Glue code and init code still missing Dirk Engling 2006-12-06 18:37:46 +0000
  • 2f8190f4fe blocking socket blocks... Dirk Engling 2006-12-06 18:36:14 +0000
  • 2a1b78e33b Kickoff Dirk Engling 2006-12-05 12:56:56 +0000