fixed small issue with the cancel queue (in extreme situations a peer might be send a req for cancel and hint for the same bin)


git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32414 001aeff7-3401-0410-a489-f7902fc005dd

- Fix for Android build.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32420 001aeff7-3401-0410-a489-f7902fc005dd
C++ mem alloc

git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32454 001aeff7-3401-0410-a489-f7902fc005dd

- Fix for MacOS X that requires the socklen passed to bind() to be the size of the
  actual family's structure and not sockaddr_storage.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32455 001aeff7-3401-0410-a489-f7902fc005dd

- Disabled fallback to legacy swift.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32456 001aeff7-3401-0410-a489-f7902fc005dd

- Rename



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32460 001aeff7-3401-0410-a489-f7902fc005dd

- Import of swift-droid-release-2.7 r32460 NativeLib.cpp with full concurrency control.




git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32461 001aeff7-3401-0410-a489-f7902fc005dd

- Backport of per-library cleanup activation fix from swift-umt. Should help with live connection cleanup.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32464 001aeff7-3401-0410-a489-f7902fc005dd

- Ensure SIZE_MAX is defined in C++ and hence PRISIZET is set correctly 
  and hence fscanf for .mbinmap reads a sane value.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32466 001aeff7-3401-0410-a489-f7902fc005dd

-H will always write checkpoint even if no wait set.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32477 001aeff7-3401-0410-a489-f7902fc005dd
 - improved req. management (slow start etc.)
 - fixed problem with ledbat closing the connection due to missing hints or high pkt loss rates
 - improved speed management and readability


git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32482 001aeff7-3401-0410-a489-f7902fc005dd

- Corrected uint declarations

- Modified speed*count_ to be uin32_t

- Removed connecttest, doesn't work with SwarmManager in place.

- Added scripts to run all tests.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32486 001aeff7-3401-0410-a489-f7902fc005dd

- Made CANCEL configurable. Now off.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32488 001aeff7-3401-0410-a489-f7902fc005dd

- Simple protection against bad initial RTT measurement.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32499 001aeff7-3401-0410-a489-f7902fc005dd

- Extra safety for limiting initial hint.

- 7th attempt.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32529 001aeff7-3401-0410-a489-f7902fc005dd

- Improved debug output backported from swift-umt.

- Don't refuse connection to same swarm if all data for a finite Range request 
  already sent (=iOS player behaviour)




git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32533 001aeff7-3401-0410-a489-f7902fc005dd

- Correcting in-development-checkin interference.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32536 001aeff7-3401-0410-a489-f7902fc005dd

- Less g++ warnings.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32537 001aeff7-3401-0410-a489-f7902fc005dd

- Less warnings.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32538 001aeff7-3401-0410-a489-f7902fc005dd

- Even less warnings.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@32539 001aeff7-3401-0410-a489-f7902fc005dd