merged changes from RC_1_0
This commit is contained in:
@@ -70,6 +70,9 @@
|
|||||||
* almost completely changed the storage interface (for custom storage)
|
* almost completely changed the storage interface (for custom storage)
|
||||||
* added support for hashing pieces in multiple threads
|
* added support for hashing pieces in multiple threads
|
||||||
|
|
||||||
|
* fix bug in 'dont_count_slow_torrents' feature, which would start too many
|
||||||
|
torrents
|
||||||
|
|
||||||
1.0.5 release
|
1.0.5 release
|
||||||
|
|
||||||
* improve ip_voter to avoid flapping
|
* improve ip_voter to avoid flapping
|
||||||
|
@@ -124,7 +124,8 @@ struct set_keypress
|
|||||||
tcgetattr(0,&stored_settings);
|
tcgetattr(0,&stored_settings);
|
||||||
new_settings = stored_settings;
|
new_settings = stored_settings;
|
||||||
// Disable canonical mode, and set buffer size to 1 byte
|
// Disable canonical mode, and set buffer size to 1 byte
|
||||||
new_settings.c_lflag &= (~ICANON);
|
// and disable echo
|
||||||
|
new_settings.c_lflag &= ~(ICANON | ECHO);
|
||||||
new_settings.c_cc[VTIME] = 0;
|
new_settings.c_cc[VTIME] = 0;
|
||||||
new_settings.c_cc[VMIN] = 1;
|
new_settings.c_cc[VMIN] = 1;
|
||||||
tcsetattr(0,TCSANOW,&new_settings);
|
tcsetattr(0,TCSANOW,&new_settings);
|
||||||
|
Reference in New Issue
Block a user