erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							f12fa4c362 
							
						 
					 
					
						
						
							
							Use a self pipe to wake from io_wait when a thread finished his work.  
						
						 
						
						
						
						
					 
					
						2009-01-16 02:26:50 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							66c906d5d3 
							
						 
					 
					
						
						
							
							Add comments, rename our struct http_data h to cookie, all clientsockets to sock, all size_t from socket_recvs to byte_count. Make signal handler set default handler for the second SIGINT  
						
						 
						
						
						
						
					 
					
						2009-01-15 23:01:36 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							4ced0484ab 
							
						 
					 
					
						
						
							
							Some premature optimization lead to always only 8bytes of ot_peers being copied  
						
						 
						
						
						
						
					 
					
						2009-01-15 22:10:54 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							02b3abbab6 
							
						 
					 
					
						
						
							
							Make v4 and v6 modes v4/v6-ONLY  
						
						 
						
						
						
						
					 
					
						2009-01-15 16:20:47 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							930495a0db 
							
						 
					 
					
						
						
							
							We sent an incorrect reply dictionary vor v6 announces  
						
						 
						
						
						
						
					 
					
						2009-01-15 16:20:18 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							d1a452e98a 
							
						 
					 
					
						
						
							
							fix parser  
						
						 
						
						
						
						
					 
					
						2009-01-14 00:05:06 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							131211b4da 
							
						 
					 
					
						
						
							
							V6  
						
						 
						
						
						
						
					 
					
						2009-01-13 22:41:17 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							779d6c235f 
							
						 
					 
					
						
						
							
							* http and udp routines now use thread local buffers passed in workstruct containers. In other words they do not use static_buffer anymore and are considered to be thread safe.  
						
						 
						
						... 
						
						
						
						* the new workstruct also introduces a well defined buffer and result passing path
* a new function scan_find_keywords is a wrapper around scan_urlencoded_query that maps keys in url to values passed in an array of ot_keywords structs
* this new function cleans up much of url parameter parsing work, where read_ptr and write_ptr have been introduced rather than the confusing char *c, *data variables
* I now use memcmp instead of byte_diff to allow compiler to optimize constant size string compares
* got rid of UTORRENT_1600_WORKAROUND
* livesync_ticker is now only called from one (currently main) thread to avoid race conditions 
						
						
					 
					
						2009-01-05 18:05:39 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							8bdc0d73f6 
							
						 
					 
					
						
						
							
							Make opentracker ANSI C again.  
						
						 
						
						
						
						
					 
					
						2009-01-03 03:25:37 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							2df09905f5 
							
						 
					 
					
						
						
							
							* opentracker now drops permissions in correct order and really chroots() if ran as root  
						
						 
						
						... 
						
						
						
						* lock passing between add_peer_to_torrent and return_peers_for_torrent is now avoided by providing a more general add_peer_to_torrent_and_return_peers function that can be used with NULL parameters to not return any peers (in sync case)
* in order to keep a fast overview how many torrents opentracker maintains, every mutex_bucket_unlock operation expects an additional integer parameter that tells ot_mutex.c how many torrents have been added or removed. A function mutex_get_torrent_count has been introduced. 
						
						
					 
					
						2009-01-02 08:57:53 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							548e2b8338 
							
						 
					 
					
						
						
							
							Introduce new flag WANT_SYNC_SCRAPE  
						
						 
						
						
						
						
					 
					
						2009-01-02 07:55:11 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							20257202af 
							
						 
					 
					
						
						
							
							Fix incorrect prototype for accesslist_deinit  
						
						 
						
						
						
						
					 
					
						2009-01-02 07:52:17 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							38c073e6dd 
							
						 
					 
					
						
						
							
							minor white space  
						
						 
						
						
						
						
					 
					
						2009-01-01 17:49:50 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							5c99e50e25 
							
						 
					 
					
						
						
							
							minoe white space  
						
						 
						
						
						
						
					 
					
						2009-01-01 17:44:04 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							3ee8991200 
							
						 
					 
					
						
						
							
							Fix badly formed bencoded answer to stopped events  
						
						 
						
						
						
						
					 
					
						2008-12-30 18:40:09 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							3df5e476d0 
							
						 
					 
					
						
						
							
							Fix: Did not time stamp a torrent correctly, that once timed out and came back to life  
						
						 
						
						
						
						
					 
					
						2008-12-11 11:48:34 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							6d4845149c 
							
						 
					 
					
						
						
							
							Propose a scrape sync protocol.  
						
						 
						
						
						
						
					 
					
						2008-12-10 14:19:37 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							a9ab9b0c0d 
							
						 
					 
					
						
						
							
							Make all torrents in their buckets sorted again.  
						
						 
						
						
						
						
					 
					
						2008-12-08 02:23:21 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							bca8bee623 
							
						 
					 
					
						
						
							
							Fix: auto increment in += is not a post increment...  
						
						 
						
						
						
						
					 
					
						2008-12-07 13:14:24 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							5f5007883e 
							
						 
					 
					
						
						
							
							Fix post increase on wrong pointer type.  
						
						 
						
						
						
						
					 
					
						2008-12-07 12:04:43 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							5a0146f810 
							
						 
					 
					
						
						
							
							Used wrong variable as offset into hash to copy  
						
						 
						
						
						
						
					 
					
						2008-12-07 12:04:03 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							c6947b160f 
							
						 
					 
					
						
						
							
							Handle program end more politely  
						
						 
						
						
						
						
					 
					
						2008-12-07 03:50:51 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							ad8c9ee1ef 
							
						 
					 
					
						
						
							
							Avoid cast warning on 64bit machines  
						
						 
						
						
						
						
					 
					
						2008-12-06 20:21:15 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							08c7162783 
							
						 
					 
					
						
						
							
							Renamed OT_FLAG to OT_PEERFLAG to make code easier to read  
						
						 
						
						... 
						
						
						
						Introduced READ16/32 and WRITE16/32 makros to abstract loading/storing from unaligned addresses away on cpu's that can actually load/store everywhere
Removed all unnecessary memmoves, especially where it only moved 6 bytes in inner loop. I replaced them with WRITE16/32(READ16/32()) makros 
						
						
					 
					
						2008-12-06 18:46:00 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							a4ed31d517 
							
						 
					 
					
						
						
							
							Format for full scrapes was not parsed correctly.  
						
						 
						
						
						
						
					 
					
						2008-12-06 16:57:10 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							256f2c6f98 
							
						 
					 
					
						
						
							
							Make mutex_lock_bucket_by_hash generic to any OT_BUCKET_COUNT  
						
						 
						
						
						
						
					 
					
						2008-12-06 00:41:12 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							258cae746f 
							
						 
					 
					
						
						
							
							Forgot one define READ32  
						
						 
						
						
						
						
					 
					
						2008-12-06 00:40:36 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							5fb58458f6 
							
						 
					 
					
						
						
							
							Tidy up unnecessary includes  
						
						 
						
						
						
						
					 
					
						2008-12-05 21:28:40 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							08d9c342d4 
							
						 
					 
					
						
						
							
							Add specialized vector functions to handle peers in sorted lists  
						
						 
						
						... 
						
						
						
						Assume that compare_size is a mulptiple of 4 in all non-specialized cases and load int32_t to compare. 
						
						
					 
					
						2008-12-05 20:36:00 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							23be5c4d55 
							
						 
					 
					
						
						
							
							Let's give a damn about syntactical correctness of peer's http strings. It's too expensive on both sides to check and to reject.  
						
						 
						
						
						
						
					 
					
						2008-12-05 20:34:24 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							7120799379 
							
						 
					 
					
						
						
							
							Now enforce that peers do not come back before our interval by giving out a 'min interval' in responses.  
						
						 
						
						
						
						
					 
					
						2008-12-03 23:25:45 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							405ef01dd3 
							
						 
					 
					
						
						
							
							printf is buffered, write not. Use printf for all.  
						
						 
						
						
						
						
					 
					
						2008-12-03 20:49:52 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							76da780220 
							
						 
					 
					
						
						
							
							fix size of 0 issue  
						
						 
						
						
						
						
					 
					
						2008-12-03 20:49:25 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							eda3ae7f91 
							
						 
					 
					
						
						
							
							Add debug code to spot peers that come back too early  
						
						 
						
						
						
						
					 
					
						2008-12-03 20:40:50 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							2c7c10138b 
							
						 
					 
					
						
						
							
							Add debug code to store peer id  
						
						 
						
						
						
						
					 
					
						2008-12-03 20:40:25 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							e2199cc504 
							
						 
					 
					
						
						
							
							New peer flag to see, whether peer came from announce or sync  
						
						 
						
						
						
						
					 
					
						2008-12-03 20:39:23 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							0523b429ae 
							
						 
					 
					
						
						
							
							Aid spotting bad clients...  
						
						 
						
						
						
						
					 
					
						2008-12-03 20:38:25 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								denis 
							
						 
					 
					
						
						
						
						
							
						
						
							bfbb5ecb44 
							
						 
					 
					
						
						
							
							stats fuer sync  
						
						 
						
						
						
						
					 
					
						2008-12-03 20:36:16 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							566e8267e1 
							
						 
					 
					
						
						
							
							Live Sync for peers that do not come back too early.  
						
						 
						
						
						
						
					 
					
						2008-12-01 17:56:53 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							334c6e4bbb 
							
						 
					 
					
						
						
							
							The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.  
						
						 
						
						
						
						
					 
					
						2008-11-28 22:21:10 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							ff6c0339c1 
							
						 
					 
					
						
						
							
							Bugfix: Number of Pools << Number of Buckets  
						
						 
						
						
						
						
					 
					
						2008-11-03 10:34:54 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							272abf8430 
							
						 
					 
					
						
						
							
							Try to use much less memory and hope for speedups  
						
						 
						
						
						
						
					 
					
						2008-11-03 01:52:51 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							18b6e9b212 
							
						 
					 
					
						
						
							
							Spread the amount of time spent in cleanup about 2 minutes  
						
						 
						
						
						
						
					 
					
						2008-11-03 01:52:23 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							9c0b23e28d 
							
						 
					 
					
						
						
							
							Add stats about when peers renew their announces.  
						
						 
						
						
						
						
					 
					
						2008-11-03 01:52:02 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							3f5468672b 
							
						 
					 
					
						
						
							
							Never let vectors shrink below their minimal capacity  
						
						 
						
						
						
						
					 
					
						2008-11-03 01:28:10 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							933f8d9b52 
							
						 
					 
					
						
						
							
							Formatting  
						
						 
						
						
						
						
					 
					
						2008-11-03 01:27:03 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							bb1c5d2805 
							
						 
					 
					
						
						
							
							Add stats about when peers renew their announces.  
						
						 
						
						
						
						
					 
					
						2008-11-03 01:26:38 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							daaee855b2 
							
						 
					 
					
						
						
							
							Whitespace fixes  
						
						 
						
						
						
						
					 
					
						2008-10-28 01:27:22 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								denis 
							
						 
					 
					
						
						
						
						
							
						
						
							55d03b9a1b 
							
						 
					 
					
						
						
							
							fixed typo  
						
						 
						
						
						
						
					 
					
						2008-10-28 00:30:08 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erdgeist 
							
						 
					 
					
						
						
						
						
							
						
						
							39ed6a058b 
							
						 
					 
					
						
						
							
							Fix stats parse code to allow modes with more than 4 characters. Wir wurden ja langsam zum Gespoett der Leute.  
						
						 
						
						
						
						
					 
					
						2008-10-28 00:24:14 +00:00