anchor.diff:  							  BitField),
       case sets:size(S#state.his_pieces) of
   	0 ->
  -	    S#state{his_pieces = PieceSet};
  +	    NS = S#state{his_pieces = PieceSet},
  +	    attempt_to_queue_pieces(NS);
   	_ ->
   	    exit(peer_sent_bitfield_later_on)
       end;
  
positive.code:     connection_manager:is_interested(State#state.connection_manager_pid,
  				     State#state.peerid),
      State#state{he_interested = true};
  handle_message(not_interested, State) ->
      connection_manager:is_not_interested(State#state.connection_manager_pid,
  					 State#state.peerid),
  
negative.code: 		piece_table = no,
  	        torrent_id = no}).
  
  %% Default number of pieces to keep queued at other end.
  -define(REQUEST_QUEUE_SIZE, 5).
  
  %%====================================================================
  %% API
  